LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-05-2004, 08:43 PM   #1
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Rep: Reputation: 15
dhcpcd kills wlan0


Alright,

So i've been running my wireless card just perfectly under Slackware 9.0 for the last 6 months or so. This week I tried to upgrade to Slack 10 only to run into some major problems.

I'm using the linux-wlan-ng drivers for my prism2_usb card.

I issue all of the proper wlanctl-ng commands and can connect to a wireless access point. (for example):

$ modprobe prism2_usb prism2_doreset=1
$ wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
$ wlanctl-ng wlan0 lnxreq_autojoin ssid=linksys authtype=opensystem

If I then run iwconfig it shows me that i am connected to the access point.
Then I run:
$ dhcpcd wlan0

This much would run PERFECTLY under slack 9.
Now, this command gets an IP address, as I can see with `ifconfig`. HOWEVER, when I now issue an `iwconfig` command shows me that the wireless interface is now DISAPPEARED!! (WTF?!)

Though I have an IP, pinging the router does not work.

Any advice?

Desperately,
.oliver

Last edited by broxys; 07-05-2004 at 08:58 PM.
 
Old 07-06-2004, 01:00 AM   #2
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Original Poster
Rep: Reputation: 15
update

A brief update:

I realized that Kismet runs fine, and lets me see all of my neighbor's networks as usual. So I fear the main problem lies in dhcpcd.

All help appreciated.
 
Old 07-06-2004, 04:03 PM   #3
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Original Poster
Rep: Reputation: 15
Another update.
As I stated in another thread.. this, for some reason, works:

1. I bring up wirless interface
2. dhclient wlan0 (or whatever else). this fails with some error about the interface not being found.
3. dhcpcd wlan0 (etc..) should then work fine - gets an IP.

WHY does this work? i don't know...

I really hope there's a better way to do this.. but for now, this works for me.
 
  


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
dhclient wlan0 - wlan0: not found nickleus Linux - Networking 1 05-10-2005 09:06 PM
dhcpcd issue. wlan0. Suse 9.2 bank Linux - Wireless Networking 2 12-09-2004 12:59 AM
10.1 - log out kills X Esenthiel Mandriva 6 10-04-2004 10:40 AM
dhcpcd wlan0 initialization CanuckFlyboy Linux - Wireless Networking 1 09-02-2004 04:43 AM
Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails orangechicken Linux - Wireless Networking 2 04-17-2004 05:39 PM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
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