problems to activate my ethernet card
Roberto Antoniazzi - OpenContent
roberto.antoniazzi at opencontent.it
Wed Mar 23 10:49:40 UTC 2005
Hi,
I solved reistalling ubuntu in expert mode and specifying the IP on the
DHCP server at the right moment. Probably the default time for
discovering automatically the dhcp server was not enough with the mine.
Thank you
roberto
Tom Fernandes wrote:
> 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
>
>
--
#-------------------------------------------------------------
Roberto Antoniazzi
OpenContent [soluzioni in software libero]
via Verdi, 9 Trento
http://www.opencontent.it
-------------------------------------------------------------#
More information about the kubuntu-users
mailing list