LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 03-27-2005, 08:30 PM   #1
korbind
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!


Hi,

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:
Code:
sudo iwconfig wlan0 essid <schoolid> key s:<passwd> open
the little light came on and I requested an IP with:
Code:
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
Code:
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.



___UPDATE___

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 12:48 PM.
 
Old 03-28-2005, 02:00 PM   #2
darkleaf
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, 02:52 PM   #3
korbind
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.
 
  


Reply


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 01:04 AM
DHCP and wireless DHCP westverg Linux - Wireless Networking 11 05-15-2005 10:27 PM
Suse 9.2 Wireless worked until update phyberoptix Linux - Laptop and Netbook 1 03-04-2005 01:43 PM
Have they worked out wireless G JROCK1980 Linux - Wireless Networking 1 05-08-2004 06:09 PM
usb wireless mouse never worked wchyk Slackware 2 04-21-2004 04:31 AM


All times are GMT -5. The time now is 08:15 AM.

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