Help, network problem

Prasanna Gautam pgautam at ubuntu.org.np
Sat May 31 01:39:12 BST 2008


Shishir Jha wrote:
> It might be a very silly thing to mention but, by default ubuntu's
> networking is in roaming mode, which works perfect with the DHCP
> thing, but if you are having problem you may want to disable the
> roaming mode and put the configuration to DHCP. Give it a try.
check your /etc/networks/interfaces
and add
auto eth0
iface eth0 inet dhcp
if you want dhcp
or add
iface eth0 inet static
address 192.168.0.(2 to 254) (not 1, generally used for router)
netmask 255.255.255.0
gateway 192.168.0.1

if you want static ip

and do /etc/init.d/networking restart

You need root/sudo access for all of these.



>
> Cheers
>
> On Fri, May 30, 2008 at 10:02 PM, Surmandal <surmandal at gmail.com
> <mailto:surmandal at gmail.com>> wrote:
>
>     Binay,
>           gr8, mii-tool report says that ur are connected to Dlink.  I
>     don't know how u have put the IP address, should be correct but
>     anyway just for confirm,
>     ifconfig eth0 192.168.0.1 <http://192.168.0.1> netmask
>     255.255.25.0 <http://255.255.25.0>
>     route add default gw 192.168.0.1 <http://192.168.0.1>
>       now ping the GW(Dlink)'s IP. If ur are able to get reply the
>     just add the dns address to /etc/resolv.conf then u will get
>     internet connection. Please post the update hai...aani dhanyabaad
>     chaa hai mailing list ma post garna jhyaau namaneko ma :p he he
>
>
>     On Fri, May 30, 2008 at 9:52 PM, Binay Ligal
>     <binay.ligal at gmail.com <mailto:binay.ligal at gmail.com>> wrote:
>
>         Hey guys, I've this problem with a freshly installed ubuntu
>         8.04 off a DVD. surmandal told me to mail this to the mailing
>         list.
>         My problem is that ubuntu doesn't detect my network. I use a
>         D-link 604 router. Windows XP detects IPs etc assigned by its
>         DHCP automatically, ubuntu in my case, does not(I know it should).
>         Here are some results of dhclient and ifconfig.
>         http://paste.ubuntu.com/15748/
>         http://paste.ubuntu.com/15750/
>         BTW, mii-tool returns eth0 link ok.
>         I tried putting static IPs taken from Windows XP but it still
>         won't budge. I can't even open the router configuration page
>         http://192.168.0.1 .
>
>         Thanks in advance.
>
>         --
>         Ubuntu-np mailing list
>         Ubuntu-np at lists.ubuntu.com <mailto:Ubuntu-np at lists.ubuntu.com>
>         Modify settings or unsubscribe at:
>         https://lists.ubuntu.com/mailman/listinfo/ubuntu-np
>
>
>
>
>     -- 
>     HACKER VS CRACKER
>     --
>     Ubuntu-np mailing list
>     Ubuntu-np at lists.ubuntu.com <mailto:Ubuntu-np at lists.ubuntu.com>
>     Modify settings or unsubscribe at:
>     https://lists.ubuntu.com/mailman/listinfo/ubuntu-np
>
>
>
>
> -- 
> Shishir Jha
> EPC 1970,GPO 8975,
> KTM,NEPAL 




More information about the Ubuntu-np mailing list