Re: Why would requesting a static IP from the router cause wireless flakiness?
- From: David Bolt <blacklist-me@xxxxxxxxxx>
- Date: Sat, 22 Sep 2007 15:05:53 +0100
On Sat, 22 Sep 2007, kmh wrote:-
<snip>
It could ping the router fine,
and /etc/resolv.conf had the correct nameserver (my gateway, 192.168.0.1)
in there. There's no DNS problem. It knew yahoo's IP when I had it try to
ping yahoo.com, even. But I got "Destination Unreachable".
All is fine if I let the router choose ath0's IP address for me, by setting
the card up to request an IP through DHCP. But I'm not guaranteed to
always get 192.168.0.101 this way.
Any ideas as to the culprit?
If you allow the IP address to be assigned by DHCP, a few other things
are configured at the same time. These are things like DNS servers,
default gateways, etc. If you configure the network card with a static
address, you have to specify these things yourself[0].
To do this you'll need to start YaST. I'll assume you'll be using the
GUI version of YaST, although the console version is virtually
identical.
First, select Network Devices -> Network Card.
Then, after choosing how the cards are managed, and I use the
traditional ifup method, select the correct interface and click edit.
Then, under the Address tab, click the "Static Address Setup" radio
button. You'll then be able to enter the IP address (192.168.0.101) and
net mask (255.255.255.0).
Next click on "Hostname and Name Server" button and enter the relevant
details and click OK.
Then click on the "Routeing" button and enter the default gateway
address and click OK.
Once you've done that, go back and verify the details are correct. If
they are, click Next.
The last thing to do is then to click Finish, and you should be done.
[0] It might be possible to have the router (or another system[1])
provide a fixed IP address for a specific MAC address. If so, configure
the router to do so, and leave the machine to get the network addresses
via DHCP.
[1] My method is to have another system run a DHCP server. I have
several systems that, despite being configured for DHCP, will always get
the same IP address, as long as the network cards aren't changed. My
router just forwards the requests for the wireless clients and passes
back the results.
Regards,
David Bolt
--
Member of Team Acorn checking nodes at 100 Mnodes/s: www.distributed.net
RISC OS 3.11 | SUSE 10.0 32bit | SUSE 10.1 32bit | openSUSE 10.2 32bit
RISC OS 3.6 | SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit
TOS 4.02 | SUSE 9.3 32bit | | openSUSE 10.3b2 32bit
.
- Prev by Date: Re: Resizing File System Online
- Next by Date: Where did YaST go after update?
- Previous by thread: RC1 download slooowwwwwwwww
- Next by thread: Re: Why would requesting a static IP from the router cause wireless flakiness?
- Index(es):
Relevant Pages
|