On Sat 26 Mar 2005 16:34, Gavin McCullagh wrote:
> > > > I have two identical WiFi cards (Orinoco Gold PCMCIA cards).
> > > > I use one in my laptop all the time, and it works perfectly.
> > > > I thought I would try the other this evening,
> > > > but for some reason it would not connect to my desktop.
> > > >
> > > > It is as though Linux somehow takes my usual card as default,
> > > > though I don't find anything anywhere to specify that.
> You said:
> > I notice I get a DHCPREQUEST on my desktop from Windows with the second
> > card, but not from Linux:
>> If linux is not sending a DHCP request, then I'd guess that card is not
> functioning or else that interface is not setup to use DHCP.
I guess that's true.
Thanks again for your response.
Any further insight gratefully received.
I notice that when I logged on this morning I got one DHCPDISCOVER message
on my desktop, and I never got another one even though I've switched
on and off since then.
So it seems to me that the desktop must keep this info somewhere,
and not ask for it again, at least for some time?
=====================================================
Mar 26 11:35:25 alfred dhcpd: DHCPDISCOVER from 00:02:2d:3f:2d:4d via eth2
Mar 26 11:35:26 alfred dhcpd: DHCPOFFER on 192.168.3.254 to 00:02:2d:3f:2d:4d
(martha) via eth2
Mar 26 11:35:27 alfred dhcpd: Unable to add forward map from martha.murphy.ie
to 192.168.3.254: timed out
Mar 26 11:35:27 alfred dhcpd: Wrote 0 deleted host decls to leases file.
Mar 26 11:35:27 alfred dhcpd: Wrote 0 new dynamic host decls to leases file.
Mar 26 11:35:27 alfred dhcpd: Wrote 1 leases to leases file.
Mar 26 11:35:27 alfred dhcpd: DHCPREQUEST for 192.168.3.254 (192.168.3.1) from
00:02:2d:3f:2d:4d (martha) via eth2
Mar 26 11:35:27 alfred dhcpd: DHCPACK on 192.168.3.254 to 00:02:2d:3f:2d:4d
(martha) via eth2
=====================================================
> You should be
> able to bring up the network config stuff which looks (apparently) like
> these screenshots:
>>http://fedora.redhat.com/projects/config-tools/redhat-config-network.html
I've tried the System Settings=>Network wizard (if you can call it that)
as well as (what is probably the same) system-config-network ,
but none of them seem to help.
> What interfaces are present? Are any set to use DHCP? What is the output
> if "/sbin/ifconfig"?
I've just got one interface eth0 (plus lo) on my laptop.
I've three on my desktop, but only eth2 (WiFi) is using dhcp .
These are the responses from my laptop
=======================================
[tim at martha ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:2D:3F:2D:4D
inet addr:192.168.3.254 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:90518 errors:0 dropped:0 overruns:0 frame:0
TX packets:104711 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38168235 (36.4 MiB) TX bytes:31527723 (30.0 MiB)
Interrupt:9 Base address:0x100
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:169 errors:0 dropped:0 overruns:0 frame:0
TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12082 (11.7 KiB) TX bytes:12082 (11.7 KiB)
[tim at martha ~]$ iwconfig
lo no wireless extensions.
eth0 IEEE 802.11-DS ESSID:"maths.tcd.ie" Nickname:"martha"
Mode:Ad-Hoc Frequency:2.457GHz Cell: 02:02:2D:4A:52:80
Bit Rate:11Mb/s Tx-Power=15 dBm 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:5
Tx excessive retries:176 Invalid misc:0 Missed beacon:0
=======================================
> One last thing. Are you using WEP? Is your wireless Access Point setup to
> block unknown MAC Addresses?
No and no.
Here's ifconfig and iwconfig from my desktop, for interest (?)
=======================================
[tim at alfred ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:18:98:F7:2B
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:67188 errors:0 dropped:0 overruns:0 frame:0
TX packets:63682 errors:0 dropped:0 overruns:0 carrier:0
collisions:12 txqueuelen:1000
RX bytes:43766781 (41.7 MiB) TX bytes:8475968 (8.0 MiB)
Interrupt:5 Base address:0x8000
eth1 Link encap:Ethernet HWaddr 00:40:F4:6E:07:A1
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13555 errors:0 dropped:0 overruns:0 frame:0
TX packets:14385 errors:0 dropped:0 overruns:0 carrier:0
collisions:57 txqueuelen:1000
RX bytes:3131822 (2.9 MiB) TX bytes:10880437 (10.3 MiB)
Interrupt:9 Base address:0x6000
eth2 Link encap:Ethernet HWaddr 00:02:2D:4A:52:80
inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:252712 errors:0 dropped:0 overruns:0 frame:0
TX packets:236189 errors:34 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:48092036 (45.8 MiB) TX bytes:149712653 (142.7 MiB)
Interrupt:10 Base address:0x100
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:369651 errors:0 dropped:0 overruns:0 frame:0
TX packets:369651 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:112408078 (107.2 MiB) TX bytes:112408078 (107.2 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:83.70.234.175 P-t-P:159.134.155.26 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:57565 errors:0 dropped:0 overruns:0 frame:0
TX packets:54053 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:41915965 (39.9 MiB) TX bytes:6996722 (6.6 MiB)
[tim at alfred ~]$ iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
eth1 no wireless extensions.
eth2 IEEE 802.11-DS ESSID:"[secret]" Nickname:"alfred.murphy.ie"
Mode:Ad-Hoc Frequency:2.457GHz Cell: 02:02:2D:4A:52:80
Bit Rate:11Mb/s Tx-Power=15 dBm 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:90
Tx excessive retries:3358 Invalid misc:0 Missed beacon:0
ppp0 no wireless extensions.
=======================================
--
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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!