Results 1 to 8 of 8

Thread: BackTrack - Wireless network interface with command line

  1. #1
    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.

  2. #2
    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

  3. #3
    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.

  4. #4
    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.

  5. #5
    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.

  6. #6
    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?

  7. #7
    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
    }

  8. #8
    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

Similar Threads

  1. Command Line Interface email client
    By foraman in forum Technology & Internet
    Replies: 6
    Last Post: 13-11-2010, 11:12 PM
  2. Restart the network interface via command line
    By madswatta in forum Networking & Security
    Replies: 4
    Last Post: 29-01-2010, 04:44 AM
  3. Replies: 3
    Last Post: 18-05-2009, 08:38 AM
  4. Watch Star Wars full movie In Command Line Interface
    By FaMe FacToR in forum Tips & Tweaks
    Replies: 2
    Last Post: 15-04-2009, 10:57 PM
  5. Replies: 1
    Last Post: 01-04-2008, 11:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,534,789.39260 seconds with 17 queries