change the gateway to 192.168.1.1 and the destination to default.
Code:route add default gw 192.168.1.1 ping 192.168.1.1
btw : what router(model) are you using?
change the gateway to 192.168.1.1 and the destination to default.
Code:route add default gw 192.168.1.1 ping 192.168.1.1
btw : what router(model) are you using?
My gateway is 192.160.0.1 not x.x.1.1 ? And skys sagemcom router. Can't give exact model I'm on mobile.
How are you connected to the internet?
Are you using the same computer and router as the one you are having problems with? If yes is this in Ubuntu or are you booting into another OS?
It appears that your router is not responding.
Most likely causes for this are
1. Faulty router - unlikely if you are using this router to connect from the same or another computer
2. Faulty connection - unlikely if you are using the same computer, even if you have to boot into another OS
3. Misconfiguration - If you can connect from another computer or OS it may be worth checking its settings
4. Firewall getting in the way for example
Tell us more about your setup and we may be able to advise more
How are you connected to the internet?
- ethernet from desktop onboard NIC to modem/router.
Are you using the same computer and router as the one you are having problems with? If yes is this in Ubuntu or are you booting into another OS?
Yes I am. I have a dualboot with windwows 7 and ubuntu. I'm Booting into ubuntu on my desktop
It appears that your router is not responding.
Most likely causes for this are
1. Faulty router - unlikely if you are using this router to connect from the same or another computer
- works fine in windows 7 and with xbox360 & windows 8 laptop.
2. Faulty connection - unlikely if you are using the same computer, even if you have to boot into another OS
- Plugged in a new ethernet cable and interface on the router/modem.
3. Misconfiguration - If you can connect from another computer or OS it may be worth checking its settings
- I could post my router settings etc?
4. Firewall getting in the way for example
- Firewall disabled.
Most likely problem is configuration so to find out what your working windows 7 is set to
click the start button and type cmd in the search box
In the window that opens type
Post all the results back hereCode:ipconfig /all
Now with your Ubuntu boot open a terminal and give us the output of
This probably needs to be edited and hopefully we will be able to tell you what it should contain.Code:cat /etc/network/interfaces
ipconfig
interfacesCode:http://pastebin.ca/2311836
Code:sean@sean-ubuntu:~$ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback
I can't see why this isn't working
Your windows machine is set to get its network settings automatically by DHCP and its getting the following settings
Your Ubuntu machine is set to get its network settings automatically by DHCP and its getting the following settingsCode:Physical Address. . . . . . . . . : BC-5F-F4-08-03-6C DHCP Enabled. . . . . . . . . . . : Yes IPv4 Address. . . . . . . . . . . : 192.168.0.25(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1
And the default gateway isCode:eth0 Link encap:Ethernet HWaddr bc:5f:f4:08:03:6c inet addr:192.168.0.25 Bcast:192.168.0.255 Mask:255.255.255.0
These are the same so it looks like configuration is working properly.Code:sean@sean-ubuntu:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
so you should be able to ping not only the router but anywhere on the network or internet.
Is the ubuntu firewall enabled? to check what's the output of
Code:sudo ufw status; nm-tool
UFW status
NM -TOOLCode:sean@sean-ubuntu:~$ sudo ufw status Status: inactive
Code:sean@sean-ubuntu:~$ nm-tool NetworkManager Tool State: connected (global) - Device: eth0 [Wired connection 1] ------------------------------------------- Type: Wired Driver: forcedeth State: connected Default: yes HW Address: BC:5F:F4:08:03:6C Capabilities: Carrier Detect: yes Speed: 100 Mb/s Wired Properties Carrier: on IPv4 Settings: Address: 192.168.0.25 Prefix: 24 (255.255.255.0) Gateway: 192.168.0.1
Hi
I notice in your earllier post you show the output of route add and del commands but you get an error messeage "SIOCDELRT: No such process"
An identical error appears in this thread:
http://ubuntuforums.org/showthread.php?t=1318743
which is solved by running
then adding a line sayingCode:sudo [text editor of choice] /etc/hosts
on line three at the end of the ipv4 block.Code:192.168.0.25 sean-ubuntu
and restarting the networking service with
Seems to have worked there so maybe give that a shot.Code:sudo service networking restart
Hope this helps!
Barry
Last edited by PowerBarry43; February 9th, 2013 at 12:33 AM.
Desktop: Z77X-UD5H, Intel i7 3770k, NVidia GeForce 660 Ti Sli 16GB DDR3 RAM 2TB HDD
OSes: Mint 14 x64 Windows 7 Ultimate x64
Laptop: Dell Latitude E6430
OSes: Ubuntu 13.04 x64, Backtrack 5 R3
Bookmarks