Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-05-2010
Member
 
Join Date: Mar 2010
Posts: 200
BackTrack - Wireless network interface with command line

Hello,
I have some Difficulty with connecting a wireless interface with command line and would like your opinion on how to do it. I avoid going through the graphical clients. So are there any commands that can help me to connect through the wireless network. Any help regarding this is appreciated. Thank you for your help.
Reply With Quote
  #2  
Old 12-05-2010
Member
 
Join Date: Nov 2009
Posts: 335
Re: BackTrack - Wireless network interface with command line

Hello,
Even I wanted to do this, I followed a few commands and it worked for me.
This is what I did
I change my MAC address which is a authorized:
Code:
ifconfig wlan0 hw ether XX: XX: XX: XX: XX: XX
I set my card on the desired :
Code:
iwconfig ath0 ap XX: XX: XX: XX: XX: XX
The key is set to
Code:
iwconfig ath0 key 1a2b3c4d5e
And I run the application as
Code:
dhclient ath0
Reply With Quote
  #3  
Old 12-05-2010
Member
 
Join Date: Nov 2009
Posts: 359
Re: BackTrack - Wireless network interface with command line

Hello,
You can use this command
Code:
# / Bin / sh modprobe-r pcspkr AirDrives kmix-ng reload iwconfig wlan1 channel ......
You will get a long result when you will fire the command in the terminal. I use this to autostart but there is no mac filtering, post if you have an ip assigned with wireless assistant I can see why you would have no one in client side.
Reply With Quote
  #4  
Old 12-05-2010
Member
 
Join Date: Mar 2010
Posts: 200
Re: BackTrack - Wireless network interface with command line

Hello,
It does not work. Not dhcpcd completes without error code after an eternity, and do not ath0 assigned IP. I just recheck the association: it works impeccable. If you worry for the MAC is a atheros madwifi so with AC drives.
This is what I tried in the command line
Code:
bt ~ # aireplay-ng - fakeauth was 0-8B: 86: B7: 1D: A1: D0 ATH1 No source MAC (-h) sp
Any more help regarding this is appreciated. Thanks for your reply.
Reply With Quote
  #5  
Old 12-05-2010
Member
 
Join Date: Nov 2009
Posts: 347
Re: BackTrack - Wireless network interface with command line

Hello,
You can try the following command
Code:
# / Bin / sh modprobe-r pcspkr AirDrives kmix-ng reload iwconfig wlan1 channel .........
You will surely get a long list of details of your wireless network card and your computer network configuration.
And for key you can do this
Code:
ifconfig wlan1 down; iwconfig wlan1 mode managed; ifconfig wlan1 iwconfig ..........
Again you will get a long list of information about the network configuration. See if this works else post back with the error you are getting.
Reply With Quote
  #6  
Old 17-05-2010
Member
 
Join Date: Mar 2010
Posts: 200
Re: BackTrack - Wireless network interface with command line

Hey,
Thank you for the reply but unfortunately, I do not want to use the router. Basically if I make a pattern I want works commme this without buying additional equipment.

Schematic:
PCn 1 network card 1: ------------- 10.0.0.1 to 10.0.0.x network
PCn 1 network card 2: ------------- 20.0.0.1 to 20.0.0.x network

as stated above, on my pc I have two network card so I want to make a bridge network. what is possible, because my cards are not on the same sub network?
Reply With Quote
  #7  
Old 18-05-2010
Member
 
Join Date: Nov 2009
Posts: 333
Re: BackTrack - Wireless network interface with command line

Hello,
See if you can configure this file
ctrl_interface=/var/run/wpa_supplicant.conf
Code:
network={
	ssid="epfl"
	key_mgmt=WPA-EAP
	proto=WPA2
	eap=TTLS
	identity="domain name"
	password="smpass"
	anonymous_identity="domain name with wireless network"
	phase2="auth=PAP"
	ca_cert="/etc/ssl/certs/name of the file.pem"
	subject_match="domain name"
	priority=8
}
Reply With Quote
  #8  
Old 19-05-2010
Member
 
Join Date: Nov 2009
Posts: 583
Re: BackTrack - Wireless network interface with command line

It's just more complicated, but must first install wpa_supplicant. If only the wireless connection is possible and that the package is missing, mirror the approach proposed in the first step to get wpasupplicant and its dependencies sudo aptitude install wpasupplicant
is then corrected / etc / network / interfaces:
Code:
sudo nano / etc / network / interfaces
And it changes the section corresponding to the wireless card ( eth1 here):
Code:
auto eth1 iface eth1 inet dhcp wpa-conf / etc / wpa_supplicant /
wpa_supplicant.conf
We save it and quit (ctrl x). We must now configure wpasupplicant:
Code:
sudo nano / etc / wpa_supplicant / wpa_supplicant.conf
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: , , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "BackTrack - Wireless network interface with command line"
Thread Thread Starter Forum Replies Last Post
Command Line Interface email client foraman Technology & Internet 6 13-11-2010 11:12 PM
Restart the network interface via command line madswatta Networking & Security 4 29-01-2010 04:44 AM
Question about Windows XP Screen Saver, Power Manager and Command Line Interface Zeeman28a Operating Systems 3 18-05-2009 08:38 AM
Watch Star Wars full movie In Command Line Interface FaMe FacToR Tips & Tweaks 2 15-04-2009 10:57 PM
CLI application (command line interface) has stopped working JAHNAVI Vista Help 1 01-04-2008 11:05 PM


All times are GMT +5.5. The time now is 11:00 PM.