E100 Driver
Knight
knightotp at gmail.com
Wed Nov 10 09:46:19 UTC 2010
On Wed, 2010-11-10 at 14:46 +0800, Christopher Chan wrote:
> On Wednesday, November 10, 2010 02:16 PM, Joshua Wambua wrote:
>
> > Okay...and the results of manually configuring eth0?
> >
>
>
> You like making me repeat myself don't you?
>
> ifconfig -a
>
> If eth0 shows up, please try the following:
>
> ifconfig eth0 address 192.168.0.25 netmask 255.255.255.0
> route add default gw 192.168.0.25
>
> I assume that nameserver 192.168.0.25 is already in /etc/resolv.conf
>
> Tests:
>
> ping 192.168.0.25
>
> If the above works...
> ping www.google.com
>
=== quote from earlier post ===
> You want entries like this in your interfaces file
>
> auto lo
> iface lo inet loopback
>
> auto eth0
> iface eth0 inet static
> address 192.168.0.25
> netmask 255.255.255.0
> gateway 192.168.0.7
>
>
> You want this in your /etc/resolv.conf
>
> nameserver 192.168.0.7
>
> After they have been done, /etc/init.d/networking restart
>
> To test:
>
> ping 192.168.0.7
> dig www.google.com
=== end quote from earlier post ===
=== Another quote with info from the topic starter ===
> My IP should be 192.168.0.25, gateway is 192.168.0.7, and dns is
> 192.168.0.7
=== end Another quote with info from the topic starter ===
Based on the info given in the topic I assume that Christopher Chan
meant something like this:
ifconfig eth0 address 192.168.0.25 netmask 255.255.255.0
route add default gw 192.168.0.7
Then edit your /etc/resolv.conf
Make it look as below:
nameserver 192.168.0.7
nameserver 208.67.222.222 # for backup purposes
then try to ping the gateway/1st nameserver:
ping 192.168.0.7
It that works, test if dns works:
dig google.com
Maybe I've missed something important, but it seem odd to me that
someone want to be the gateway, dns-server. And then have it's own
ip-address configured to be the same on the same box.
Please correct me if I'm wrong.
--
Knight Of The Post
Linux Pro or Pro Linux?!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101110/0726deed/attachment.sig>
More information about the ubuntu-users
mailing list