[ILUG] Accessing Linksys WRT54LG
Timothy Murphy
tim at birdsnest.maths.tcd.ie
Fri Nov 17 14:55:24 GMT 2006
On Thursday 16 November 2006 20:19, you wrote:
> Linux are not being set up correctly. Have you compared what routes are set
> up under Win, and also what IP address the Windows machine gets ( same as
> Linux )?
Thanks very much for your response.
I should say, I haven't played with the WRT65GL much,
as I have a WiFi setup which works fine (I'm using it now),
based on a PCI WiFi card in my desktop.
However, this is an 11b device, and I thought I'd like to try 11g,
to see if there is any difference.
> When you say you give it the address 192.168.2.12 with dhcp, which
> interface on the router are you talking about - the "WAN" interface
> upstream usually gets it's IP via DHCP, but the "LAN" interface is usually
> configured to a specific address ( I don't have a WRT54GL, but I do have a
> WRK54 and it has no option to give it a dynamic address on the "LAN" side
> ). I mention this because the router probably won't allow you to login from
> the WAN side by default.
As you say, 192.168.2.12 is the address given to the WAN side of the router
by dhcp.
I realize it will probably have a different address on the WiFi side -
I see it has 3 MAC addresses, for WAN, WiFi and Ethernet,
when I connect it to a PC and login (to IP 192.168.1.1).
My problem is that I don't see it at all under Linux on the WiFi side.
> Without a more picture of what is plugged in to
> where I am only guessing what might be happening, but I suspect you are not
> actually succeeding in assigning the 192.168.2.12 address, so it just
> ignores any ssh or pings to that destination. As for why Windows works, I
> dunno, do you have exactly the same connections in that case ?
If I attach the router to an Ethernet hub connected to my desktop
(running Fedora 5 Linux)
and run my laptop under Windows XP,
I am offered two WiFi connections, both of which work -
one through the router, and one through the PCI card.
(The router connection does not use WEP or any other encryption.)
But when I run Linux on my laptop, I don't see the router at all.
I've tried giving my laptop the correct essid (dd-wrt)
and all possible modes, without success.
And I don't see any record on the desktop of any attempt to connect.
I shall be more than grateful for any advice or suggestions.
-------------------------------------------------------------------
[tim at martha ~]$ sudo iwconfig eth0 essid dd-wrt mode ad-hoc
[tim at martha ~]$ iwconfig eth0
eth0 IEEE 802.11b ESSID:"dd-wrt" Nickname:"martha"
Mode:Ad-Hoc Frequency:2.462 GHz Cell: Not-Associated
Bit Rate:2 Mb/s Sensitivity:1/3
Retry limit:4 RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:18
Tx excessive retries:8 Invalid misc:0 Missed beacon:0
[tim at martha ~]$ iwconfig eth0
eth0 IEEE 802.11b ESSID:"maths.tcd.ie" Nickname:"martha"
Mode:Managed Frequency:2.457 GHz Access Point: 02:02:2D:4A:52:80
Bit Rate:2 Mb/s Sensitivity:1/3
Retry limit:4 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/92 Signal level=-87 dBm Noise level=-87 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:18
Tx excessive retries:9 Invalid misc:0 Missed beacon:0
[tim at martha ~]$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:02:2D:1D:43:B7
inet addr:192.168.3.6 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:81544 errors:6 dropped:6 overruns:0 frame:0
TX packets:79618 errors:6 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52623134 (50.1 MiB) TX bytes:17975573 (17.1 MiB)
Interrupt:11 Base address:0x2100
-------------------------------------------------------------------
--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
More information about the ILUG
mailing list