Re: Setting IP address not working
On Tuesday 14 June 2005 15:14, Meni Shapiro wrote:
> Hi,
> Well first of all i would check if the eth0 is connected and is known to
> the OS.
ifconfig says it is there - but with ip address 169.254.50.3
> Try:
> #mii-tool
Says
No MII transceiver present!.
the 3C59x module is loaded (my 3com NIC). Since even after the strange
problems of getting the wrong IP address I can still do things like browse
the web, then I assume it is basically working
> see if it says link ok.
> if not try:
> lsmod and see if the driver for the nic is listed (if not...feagure out
> which one you got and try modprobe to install it (check the man for info)).
> if you got link then try:
> #ifconfig eth0 <IP> netmask <netmask> up
> #route add default gw <GW-IP>
That works - although
this line
ifconfig eth0 192.168.0.21 netmask 255.255.255.0 up
gives this error
SIOCSIFADDR: File exists
What does that mean?
...>
> On 6/14/05, I <alan@chandlerfamily.org.uk> wrote:
...
> >
> > sit0: unknown hardware address type 776
> > sit0: unknown hardware address type 776
Still puzzled about above two lines
> > Listening on LPF/eth0/00:50:da:cf:a5:06
> > Sending on LPF/eth0/00:50:da:cf:a5:06
> > Sending on Socket/fallback/fallback-net
> > DHCPREQUEST on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
> > DHCPACK from 192.168.0.20
> > SIOCSIFADDR: File exists
> > bound to 192.168.0.21 -- renewal in 10800 seconds.
> > RTNETLINK answers: Cannot assign requested address
This seems to be the key error message - so what is wrong here?
--
Alan Chandler
http://www.chandlerfamily.org.uk
Reply to: