Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Madwifi Cannot get IP (DHCP)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Wed Mar 01, 2006 10:43 pm    Post subject: Madwifi Cannot get IP (DHCP) Reply with quote

I've gone in and started up /etc/init.d/wifi0 with the following configuration:
Code:
modules=( "wpa_supplicant" )
config_wifi0=( "dhcp" )
dhcp_wifi0="nontp nodns nonis"
wpa_supplicant_wifi0="-Dmadwifi"
wpa_timeout_wifi0=30
Code:
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
network={
  ssid="correct"
  key_mgmt=WPA-PSK
  scan_ssid=1
  pairwise=TKIP
  psk="correct"
priority=1
}
network={
  ssid="UWB-CCC"
  key_mgmt=NONE
  scan_ssid=1
  priority=2
}
It gets all of the way to "Running dhcpcd ...", before exiting with a "!!" several seconds later, after trying to connect to the latter at my college.

What is incorrect here?
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Wed Mar 01, 2006 10:53 pm    Post subject: Reply with quote

anything in the logs?
what happens when you try to enable this manually ?
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Wed Mar 01, 2006 11:02 pm    Post subject: Reply with quote

In dmesg it returns the following:
Code:
ADDRCONF(NETDEV_CHANGE): wifi0: link becomes ready
wifi0: no IPv6 routers present
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Mar 02, 2006 12:35 am    Post subject: Reply with quote

Aren't you supposed to create ath0 from wifi0? afaik, wifi0 with madwifi does nothing usefull itself ...
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Thu Mar 02, 2006 4:36 am    Post subject: Reply with quote

Well, that would explain why the results are the same with or without the interface turned on.

I've gone through the wiki article, but am unsure of what I should do. Any thoughts?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum