Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 03-27-2005, 07:30 PM   #1
LQ Newbie
Registered: Mar 2005
Location: Cincinnati, Ohio
Distribution: Vector Linux 4.3 (Slackware one-off)
Posts: 12

Rep: Reputation: 0
Wireless DHCP worked once and can't repeat!


I'm using a Gigafast WF721-AEX wireless card on a Campaq Armada M300 laptop running Vector Linux 4.3 (kernel 2.6.7).

I just updated ndiswrapper to 1.1 and can now use 128bit WEP on my network at home using static IP addresses. When I took the card to school I inserted the card and typed:
sudo iwconfig wlan0 essid <schoolid> key s:<passwd> open
the little light came on and I requested an IP with:
sudo /sbin/dhcpcd wlan0
This promptly gave me an IP address and I was online.

When I ejected the card and tried to reconnect, iwconfig showed all the right info but I couldn't get an IP address from the DHCP server.

I rebooted the system and still no IP from DHCP.

When I run
sudo iwlist wlan0 scan
I can see anywhere from 4 to 10 cells at school. Could this many cells be confusing my card? I've tried assigning the AP but this doesn't seem to change anything.

Any help would be greatly appreciated.


I managed to get online once again. It seems that "sudo" won't do the trick, I have to actually su to root and make that my first attempt to both configure the card's settings and request an IP via DHCP.

If by chance anyone knows of a better way (cause I know working as root is not the best solution) I'd appreciate the tip. Thanks.

Last edited by korbind; 03-28-2005 at 11:48 AM.
Old 03-28-2005, 01:00 PM   #2
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
I don't know where the networking scripts in your distro are. But in the interfaces script (for me it's in /etc/network) you can set some options. Like the essid and key. That'll set them on boot. There's also the option to use dhcp in there on boot. That'll fix it. I can't remember the exact stuff but check "man interfaces" it's all in there with samples
Old 03-28-2005, 01:52 PM   #3
LQ Newbie
Registered: Mar 2005
Location: Cincinnati, Ohio
Distribution: Vector Linux 4.3 (Slackware one-off)
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the response.

Vector Linux is a trimmed down version of Slackware (under 1gig).

I don't have a folder /etc/network. I have a file /etc/networks but it's for "...netname-to-address mappings for the TCP/IP subsystem. It's mostly used at boot time, when no name servers are running," so I'm guessing this isn't what you're referring to. I also don't have a man page for "interfaces."

The file I edit to set the IP or DHCP service on my ethernet is /etc/rc.d/rc.inet1. Is this where I would put the wireless SSID, key, and other options?

Also, I'd like to be able to insert/eject the card without having to reboot.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless worked in FC2, but not in Slack 10.1 jonlake Linux - Wireless Networking 0 09-15-2005 12:04 AM
DHCP and wireless DHCP westverg Linux - Wireless Networking 11 05-15-2005 09:27 PM
Suse 9.2 Wireless worked until update phyberoptix Linux - Laptop and Netbook 1 03-04-2005 12:43 PM
Have they worked out wireless G JROCK1980 Linux - Wireless Networking 1 05-08-2004 05:09 PM
usb wireless mouse never worked wchyk Slackware 2 04-21-2004 03:31 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration