Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iwl4965, wpa_supplicant, AMD64, Kernel 2.6.33 [Solved]
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
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Fri Apr 16, 2010 4:08 pm    Post subject: iwl4965, wpa_supplicant, AMD64, Kernel 2.6.33 [Solved] Reply with quote

I have a lenovo t61p, here are the following outputs

My lspci
http://pastebin.com/DV2T3eGt

My uname -a
http://pastebin.com/PJtfJfSB

My emerge --info
http://pastebin.com/ZpWtCZ1K

My lsmod
http://pastebin.com/8yCsckun

My iwconfig
http://pastebin.com/iSeEXmfg

My ifconfig -a
http://pastebin.com/aZP9TS4k

My cat /etc/conf.d/net
http://pastebin.com/gvGqReyS

My cat /etc/wpa_supplicant/wpa_supplicant.conf
http://pastebin.com/UuX1565G

My ls -la /etc/init.d
http://pastebin.com/1Fc7axgY

My cat /usr/src/linux/.config | grep -i {iwl,kill,802}
http://pastebin.com/j30S6jCS

ethernet currently works, and i have read some posts on the forums and attempted to apply wireless solutions suggested to other users to no avail, what is necessary to make the wireless work?
_________________
None


Last edited by alechiko on Fri May 07, 2010 8:32 am; edited 1 time in total
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Fri Apr 16, 2010 5:03 pm    Post subject: Reply with quote

By the looks of your logs, you are connected to the AP but you can't get an IP from it. What is the output of

Code:

dhcpcd wlan0


Change dhcpcd to dhclient or your DHCP client if dhcpcd is not installed.


BTW, if you are using wpa_supplicant you don't need to add AP information and keys in your /etc/conf.d/net file.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Fri Apr 16, 2010 5:11 pm    Post subject: Reply with quote

lenovo alechiko # dhcpcd wlan0
dhcpcd: dhcpcd already running on pid 22366 (/var/run/dhcpcd-wlan0.pid)

Yes, it has given me some ip that i seem to recall in windows means that there was a problem with tcpip
this is the ip:

169.254.215.124

My ip should be 10.0.0.*
_________________
None
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Fri Apr 16, 2010 6:11 pm    Post subject: Reply with quote

BTW you have some config files (._cfg0000_acpid) under /etc/init.d - have a look for etc-update or similar tools
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Fri Apr 16, 2010 6:17 pm    Post subject: Reply with quote

alechiko wrote:
169.254.215.124
dhcpcd failed to get an IP address, therefore it gives you one of the reserved address range.
What do you get here:
Code:
killall dhcpcd; dhcpcd -B -d -t 60
?
Back to top
View user's profile Send private message
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Fri Apr 16, 2010 6:37 pm    Post subject: Reply with quote

Code:
lenovo alechiko # killall dhcpcd; dhcpcd -B -d -t 60
dhcpcd: version 5.2.2 starting
dhcpcd: wlan0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd: wlan0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
dhcpcd: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
dhcpcd: eth0: reading lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
dhcpcd: eth0: rebinding lease of 10.0.0.6
dhcpcd: eth0: sending DHCP_REQUEST (xid 0xe2335c61), next in 3.47 seconds
dhcpcd: wlan0: reading lease `/var/lib/dhcpcd/dhcpcd-wlan0.lease'
dhcpcd: wlan0: checking for 169.254.215.124
dhcpcd: wlan0: sending ARP probe (1 of 3), next in 1.50 seconds
dhcpcd: eth0: acknowledged 10.0.0.6 from 10.0.0.138
dhcpcd: eth0: checking for 10.0.0.6
dhcpcd: eth0: sending ARP probe (1 of 3), next in 1.02 seconds
dhcpcd: eth0: sending ARP probe (2 of 3), next in 1.50 seconds
dhcpcd: wlan0: sending ARP probe (2 of 3), next in 1.55 seconds
dhcpcd: eth0: sending ARP probe (3 of 3), next in 2.00 seconds
dhcpcd: wlan0: sending ARP probe (3 of 3), next in 2.00 seconds
dhcpcd: eth0: leased 10.0.0.6 for 86400 seconds
dhcpcd: eth0: adding IP address 10.0.0.6/24
dhcpcd: eth0: adding route to 10.0.0.0/24
dhcpcd: eth0: adding default route via 10.0.0.138
dhcpcd: eth0: writing lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
dhcpcd: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason BOUND
dhcpcd: eth0: sending ARP announce (1 of 2), next in 2.00 seconds
dhcpcd: wlan0: using IPv4LL address 169.254.215.124
dhcpcd: wlan0: adding IP address 169.254.215.124/16
dhcpcd: wlan0: adding route to 169.254.0.0/16
dhcpcd: wlan0: writing lease `/var/lib/dhcpcd/dhcpcd-wlan0.lease'
dhcpcd: wlan0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason IPV4LL
dhcpcd: wlan0: sending ARP announce (1 of 2), next in 2.00 seconds
dhcpcd: eth0: sending ARP announce (2 of 2)
dhcpcd: wlan0: sending ARP announce (2 of 2)
dhcpcd: wlan0: broadcasting for a lease
dhcpcd: wlan0: sending DHCP_DISCOVER (xid 0x561f5118), next in 4.41 seconds
dhcpcd: wlan0: sending DHCP_DISCOVER (xid 0x561f5118), next in 8.50 seconds
dhcpcd: wlan0: sending DHCP_DISCOVER (xid 0x561f5118), next in 16.99 seconds
dhcpcd: wlan0: sending DHCP_DISCOVER (xid 0x561f5118), next in 31.51 seconds
dhcpcd: wlan0: sending DHCP_DISCOVER (xid 0x561f5118), next in 64.55 seconds


Since writing this thread, i have performed a dispatch-conf
_________________
None
Back to top
View user's profile Send private message
denysonique
n00b
n00b


Joined: 17 Apr 2010
Posts: 60
Location: London

PostPosted: Sat Apr 17, 2010 10:22 am    Post subject: You can use NetworkManager Reply with quote

Give networkmanager a try. This tool will automatically try to associate with the AP and request an IP.
Simply:
Code:
emerge nm-applet
.
To start networkmanager :
Code:
/etc/init.d/NetworkManager start

Also you may add it to your run level.
Remember to stop nm before using any other networking tools as networkmanager will bo coliding with them and disconnecting the network devices.

Also some time ago when I was associating with an AP it would refuse to assign me an IP address.
After I have changed my MAC addres everything was fine.
Here is how to change the MAC address of your card
Code:
ifconfig wlan0 hw ether 00:00:00:00:00:FF

Also your MAC address could have been blacklisted hence the above problem.
Some AP's just ban automatically some clients for no reason.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Apr 17, 2010 1:48 pm    Post subject: Reply with quote

Hi, can you remove this from your /etc/conf.d/net :

Code:

key_ESSID1="[1] s:0546995803 key [1] enc open"


Also, can you post this :

Code:

# ln -s net.lo net.wlan0
# iwlist scan
# /etc/init.d/net.wlan0 restart
# dmesg | tail
# wpa_cli status
# ifconfig -a
Back to top
View user's profile Send private message
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Sun Apr 18, 2010 3:16 pm    Post subject: Re: You can use NetworkManager Reply with quote

denysonique wrote:

Remember to stop nm before using any other networking tools as networkmanager will bo coliding with them and disconnecting the network devices.


The networkmanager worked
Now i just need to decide if perhaps to remove net.eth0 from init.d and let networkmanager control that also

thanks to all that assisted
_________________
None
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Apr 18, 2010 3:42 pm    Post subject: Reply with quote

Indeed, you should.
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