Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Installed LE2005 today on a Gateway 333MHz laptop. Wireless card is a NetworkEverywhere NWP11B (ACX100) on a ndiswrapper Windows driver. Posting this on it. When I reboot, I have to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Location
    Naugy, CT
    Posts
    10

    Wireless NIC must be reconfigured after every reboot


    Installed LE2005 today on a Gateway 333MHz laptop. Wireless card is a NetworkEverywhere NWP11B (ACX100) on a ndiswrapper Windows driver. Posting this on it. When I reboot, I have to reconfigure the card - the driver is still installed but I don't know how to simply start it up without reconfiguring it. Even have "Start at boot" set, but that doesn't make a difference...

    Let me know what info you need...
    Thanks

  2. #2
    Linux User stokes's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    274
    I had this problem and fixed it by adding these lines to the end of my /etc/rc.d/rc.local

    Code:
    #take wired connection down (optional)
    ifconfig eth0 down
    
    #set connection to managed mode (for wireless connections)
    iwconfig wlan0 mode Managed
    
    #specify essid for wlan
    iwconfig wlan0 essid cupotea
    
    #set IP address
    ifconfig wlan0 192.168.2.8
    
    #add default gateway for Internet access
    route add default gw 192.168.2.1
    
    #add wep encryption
    iwconfig wlan0 key [your encryption key]
    Of course if you want to use DHCP to get an IP address you can use "dhclient wlan0" instead of setting the IP manually.

    There may be a better way of doing this but it works for me!

    Hope this helps!

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Location
    Naugy, CT
    Posts
    10
    Sweet! I think this may be just what I am looking for! I'll try it tonight when I get home! Thanks, I'll let you know how I made out.

  4. #4
    Just Joined!
    Join Date
    Jun 2005
    Location
    Naugy, CT
    Posts
    10
    Here is my file, but the problem exists...

    Code:
    #!/bin/sh
    #
    # This script will be executed *after* all the other init scripts.
    # You can put your own initialization stuff in here if you don't
    # want to do the full Sys V style init stuff.
    
    
    
    touch /var/lock/subsys/local
    #take wired connection down (optional)
    ifconfig eth0 down
    
    #set connection to managed mode (for wireless connections)
    iwconfig wlan0 mode Managed
    
    #specify essid for wlan
    iwconfig wlan0 essid broggnet
    
    #set IP address
    dhclient wlan0
    
    #add default gateway for Internet access
    route add default gw 9.24.19.72
    
    #add wep encryption
    iwconfig wlan0 key [encryption key]

  5. #5
    Just Joined!
    Join Date
    Jun 2005
    Posts
    27
    does /var/log/messages shed any light?

  6. #6
    Linux User stokes's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    274
    The problem is here:
    Code:
    #add wep encryption 
    iwconfig wlan0 key [encryption key]
    If you are using wep encryption on your wlan you need to enter your key instead of [encryption key]. If you are not using wep you can just comment the line out using # at the beginning.

  7. #7
    Just Joined!
    Join Date
    Jun 2005
    Location
    Naugy, CT
    Posts
    10
    I actually have my encryption key in there instead of [encryption key] but i wasn't going to post it...

  8. #8
    Just Joined!
    Join Date
    Jun 2005
    Location
    Naugy, CT
    Posts
    10
    Quote Originally Posted by darkprince
    does /var/log/messages shed any light?
    I'm still reading, it's quite lengthy - I've rebooted and will check again - maybe it won't be as long lol

  9. #9
    Linux User stokes's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    274
    hehehe .. ok sorry!

    Not sure in that case .. the only thing different in your script is the dhclient line. If you run 'dhclient wlan0' from the konsole and then type 'iwconfig', can you see if it's worked?

  10. #10
    Just Joined!
    Join Date
    Jun 2005
    Location
    Naugy, CT
    Posts
    10
    I did
    Code:
    # dhclient wlan0
    
    sit0: unknown hardware address type 776
    wlan0: unknown interface: no such device
    
    # ndiswrapper -l
    nwp11nds        driver present, hardware present

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •