problems to activate my ethernet card
Tom Fernandes
tom.fernandes at credativ.co.uk
Wed Mar 23 09:30:07 UTC 2005
Hi,
> > are you using DHCP to get an IP Address?
>
> yes, through a router and perfectly running in my little LAN
>
> > if so - try running:
> >
> > sudo dhclient eth0
> > on the commandline to see if it works then.
>
> the result of the command was
>
> No DHCPOFFERS received
> No working leases in persistent database - sleeping.
> (the configuration of /etc/network/interfaces file was:
>
> mapping hotplug
> script grep
> map eth0
>
> iface eth0 inet dhcp)
>
>
> > if not try running the following command on the commandline:
> >
> > sudo ifconfig eth0 192.168.0.20
> > sudo route add default gw 192.168.0.1
> >
> > to make your DNS work you will have to put the following line
> > into /etc/resolv.conf as the first line.
> >
> > nameserver 192.168.0.30
> >
> > You can edit this file by issuing the command:
> >
> > sudo kedit /etc/resolv.conf
> >
> > on the commandline
> >
> > you have to substitute 192.168.0.20 with your IP Address, 192.168.0.1
> > with your gateway and 192.168.0.30 with your DNS Server.
>
> I then tried (after I had disabled dhcp server) with
>
> sudo ifconfig eth0 10.0.0.202
> sudo route add default gw 10.0.0.2
>
can you ping 10.0.0.202 after this?
please copy the output of
/sbin/ifconfig -a
to an email
Tom
More information about the kubuntu-users
mailing list