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 05-15-2006, 06:03 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
Question Help: Linux router connected to AP via wifi

Hi, I've got a bit of a (hopefully not too) tricky question here. My current setup is thus:

Gentoo box/router connected (via ethernet cable) to wireless AP, and then the rest of my home network connects to the AP via their wifi cards and through that receives their internet access, dhcp, etc. This is all working near flawlessly.

What I'd like to do is thus:

Move the access point to a more central location in my house connected to another computer that isn't the router to improve the wifi signal strength to the rooms out the back. Also still share the internet connection from my gentoo box but now via the wifi card in it.

I've got a Netgear WPN311 wifi card installed in my gentoo box, and the driver installed and working (it can get an IP from dhcp via the wireless link, so I'm assuming that's a good indicator that it's working). My problem arises when I move the AP (or disconnect it from the ethernet port on the gentoo box). When I move it, I lose all connectivity with it. Pinging it I get 3/4 packets can't reach the other end, and the other one I never hear from again.

When I switch on another PC on the network to try get an IP wirelessly, it doesn't receive an IP. Now watching tcpdump on the wifi link (ath0 I think it's called - being an Atheros chipset and all), I can see traffic coming from the MAC of the PC I've switched on, but it doesn't send the DHCP address back to it, and there is also no mention of a DHCP request in /var/log/messages like usual.

Any suggestions for what I can try would be greatly appreciated.

Can post any logs etc later if needed.
Old 05-16-2006, 06:58 PM   #2
LQ Newbie
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I'm trying something a bit more standard now, and still getting a similar result - setting up the wifi card in my gentoo box in master mode, and then setting the real AP to be a repeater. Other machines in the house can see the wireless network from the gentoo box fine (for the time being leaving the real AP out of it to avoid complexity), and connect to the wireless network, but when it goes to get an IP via DHCP, the request doesn't get through. I'm thinking it could be my firewall blocking packets from coming in via the wifi port as when I run "tcpcump -i ath0", it can see the DHCP packets coming in, but there's no record of them appearing in /var/log/messages - could that sound right?

When I close the tcpdump (ctrl+c), it says

x packets captured
y packets received by filter
0 packets dropped by kernel

(where x and y vary depending how long I let it run for).


access, networking, point, wireless

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
who is connected to my wifi router? pedro_nf Linux - Wireless Networking 27 05-10-2014 09:39 PM
Wifi connected but browser does not work! Patrick_Rhodes Linux - Newbie 6 12-07-2005 03:12 PM
Linksys BEFSR81 connected to Linux Router? fleshwound Linux - Networking 1 11-30-2005 09:22 AM
Limit connected items connected to my router andersh3 Linux - Newbie 1 03-16-2004 11:10 AM
etech router --> lan --> linux server --> wifi mrmadalex Linux - Wireless Networking 0 12-27-2003 07:47 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 12:04 AM.

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