strange network problems

Sebastian sebastian.spiess at gmail.com
Tue Apr 22 23:29:17 BST 2008


On 23/04/2008, Cary Bielenberg <cary at bielenberg.id.au> wrote:
> Sebastian,
>                  If you go into windows & bring up a command prompt & type
> ipconfig it will give you your IP settings if you write down the default
> gateway it will probably be 192.168.0.1 or 192.168.0.254 then boot into
> Ubuntu & bring up a terminal & type sudo gedit /etc/network/interfaces you
> should see something like this
>
>
>  # The primary network interface
>  auto eth0
>  iface eth0 inet dhcp
>
>  Add this line under the iface eth0 inet dhcp
>
>  gateway 192.168.0.X    (x= the last octec of your gateway address you got
> from Windows)
>
>
>  Cheers Cary
>
>  BTW I'm not a Ubuntu user but Kubuntu & from what I have read it will be
> gedit I would use nano ;-)
>
>
>
>  Sebastian Spiess wrote:
>
> > Cary Bielenberg wrote:
> >
> > > I have seen Ubuntu not add the default gateway in DHCP on some DSL
> routers, does it show from ifconfig?
> > >
> > >
> > > Cary
> > >
> > > Sebastian wrote:
> > >
> > > > On 22/04/2008, Cary Bielenberg<cary at bielenberg.id.au>  wrote:
> > > >
> > > > > Sounds like either wrong/no default gateway or incorrect subnet
> mask.
> > > > >
> > > > >
> > > > >
> > > > >  Cary
> > > > >
> > > > >
> > > > >  Sebastian wrote:
> > > > > >  hi all,
> > > > > >  since yesterday I have network trouble with my feisty
> installation.
> > > > > >  I can connect to my router and see that the router is
> online/connected
> > > > > >  but that's about it.
> > > > > >  I can't ping or connect to a address outside my network.
> > > > > >
> > > > > >  The thing is, I haven't changed a thing during the last 3 days,
> at
> > > > > >  least not regarding network/Internet/proxy. Or not to my
> knowledge.
> > > > > >  What I did during the last days (as far as I remember) was try to
> get
> > > > > >  a hald script to run, ran the  software for
> https://www.osscensus.org/
> > > > > >  (you should all participate) and use the thing (surf, email, IM,
> > > > > >  audio, video the usual thing).
> > > > > >
> > > > > >  So I have no idea whats going on or where to start looking...
> > > > > >
> > > > > >  Please help!
> > > > > >
> > > > > >  Thanks, Sebastian
> > > > > >
> > > > > --
> > > > >  ubuntu-au mailing list
> > > > >  ubuntu-au at lists.ubuntu.com
> > > > >
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-au
> > > > >
> > > > >
> > > >
> > > > I forgot to mention that under windows everything works.
> > > >
> > > > Regarding the network settings. the router assigns gateway and subnet
> > > > etc. I can see that in the connection details and I can connect to the
> > > > router web interface
> > > >
> > >
> > >
> >
> > I am not 100% sure what you mean with __default__ gateway.
> > I started in recovery mode and then I did  init 3, logged in an the
> network worked
> >
> > seb at notebook:~$ ifconfig eth0
> > eth0      Link encap:Ethernet  HWaddr
> >          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0...
> >
> > ifconfig seems fine to me here.
> >
> > I then restarted, normal, logged in and it worked again. Strange things
> are happening here ?:-\
> >
> > ifconfig -a eth0
> > eth0      Link encap:Ethernet  HWaddr
> >          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
> >
> > ifconfig shows the same result here.
> >
> > Thanks very much for your help
> >
> > Cheers, Sebastian
> >
>

hi Cary,

I think it works again, the router IP is set as standard gateway. The
strange thing is the only thing I did was restart and boot windows a
couple of times... *puzzled*

Thanks for your help



More information about the ubuntu-au mailing list