Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I will join this topic with a simular problem as slvfx. I have also lost my connection with internet, although I have just used a wired one (LAN) on my laptop ACER Aspire 5730Z. I was running it without a created connction in "Network Configuration" and there were no problems. Some days ago, may be, I made a mistake suring trying to connect to wireless internet. As slvfx, I have lost my connection with internet (using Ubuntu 8.10) and I tryed what Vanel and eager suggested here. A can ping myself and the gateway, but nothing more. And, suprising for me, I have working Skype. This is all. Here is what is responding to
"ifconfig"
eth0 Link encap:Ethernet HWaddr 00:1d:72:cb:d8:ac
inet addr:91.92.167.195 Bcast:91.92.167.255 Mask:255.255.255.0
inet6 addr: fe80::21d:72ff:fecb:d8ac/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8695 errors:0 dropped:0 overruns:0 frame:0
TX packets:2380 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:642354 (642.3 KB) TX bytes:337160 (337.1 KB)
Interrupt:16
and when I try to ping the gateway: ping 91.92.167.1
PING 91.92.167.1 (91.92.167.1) 56(84) bytes of data.
64 bytes from 91.92.167.1: icmp_seq=1 ttl=64 time=6.14 ms
64 bytes from 91.92.167.1: icmp_seq=2 ttl=64 time=6.40 ms
64 bytes from 91.92.167.1: icmp_seq=3 ttl=64 time=6.40 ms and it continues to endles...
jschiwal, yes I see. I just didn't want to make new topics for simular problems, but it seems to be not so simular.
I can ping yahoo. This is what I have : akula@akula-laptop:~$ ping 69.147.114.224
PING 69.147.114.224 (69.147.114.224) 56(84) bytes of data.
64 bytes from 69.147.114.224: icmp_seq=1 ttl=55 time=130 ms
64 bytes from 69.147.114.224: icmp_seq=2 ttl=55 time=130 ms
64 bytes from 69.147.114.224: icmp_seq=3 ttl=55 time=130 ms
64 bytes from 69.147.114.224: icmp_seq=4 ttl=55 time=130 ms
...
64 bytes from 69.147.114.224: icmp_seq=47 ttl=55 time=130 ms
^C
--- 69.147.114.224 ping statistics ---
47 packets transmitted, 47 received, 0% packet loss, time 46183ms
rtt min/avg/max/mdev = 130.146/132.049/141.675/3.265 ms
akula@akula-laptop:~$ ping 209.191.93.53
PING 209.191.93.53 (209.191.93.53) 56(84) bytes of data.
64 bytes from 209.191.93.53: icmp_seq=1 ttl=56 time=218 ms
64 bytes from 209.191.93.53: icmp_seq=2 ttl=56 time=218 ms
64 bytes from 209.191.93.53: icmp_seq=3 ttl=56 time=218 ms
64 bytes from 209.191.93.53: icmp_seq=4 ttl=56 time=211 ms
64 bytes from 209.191.93.53: icmp_seq=5 ttl=56 time=214 ms
64 bytes from 209.191.93.53: icmp_seq=6 ttl=56 time=211 ms
64 bytes from 209.191.93.53: icmp_seq=7 ttl=56 time=211 ms
64 bytes from 209.191.93.53: icmp_seq=8 ttl=56 time=211 ms
^C
--- 209.191.93.53 ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 7056ms
rtt min/avg/max/mdev = 211.564/214.695/218.694/3.136 ms
But I still can not browse from internet, I have just skype.
Here is what I get with the commands "route" and "dig": akula@akula-laptop:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
91.92.167.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
didefault 91.92.167.1 0.0.0.0 UG 100 0 0 eth0
akula@akula-laptop:~$ dig
; <<>> DiG 9.5.0-P2 <<>>
;; global options: printcmd
;; connection timed out; no servers could be reached
catkin, name resoltion is not working. It gave to me "Unknown host linuxquestions.org". But with address 75.126.162.205
it is all right :"3 packets transmitted, 3 received, 0% packet loss, time 2006 ms" plus some other in the end.
Here is what responded: kula@akula-laptop:~$ cat /etc/host.conf
# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on
akula@akula-laptop:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
akula@akula-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
Тhe first one # The "order" line is only used by old versions of the C library.
order hosts,bind
multi on I don't understand it...
You need your ISP's name servers listed in /etc/resolv.conf. If you use DHCP, check if they are set in your router which serves up these things. You might also consider entering a couple openDNS servers instead and using them whether you are connecting from home, or from a restaurant or coffee shop.
There is no names in /etc/resolv.conf All I have their is "#Generated by NetworkManager" May be this is the problem?
Beacause in the NetworkManager I have put the connection properties.
You might want to check your Network Manager profiles. You should delete any profile that tries to connect via wireless, reboot the computer, and see if the Network Manager reverts back to using your wired connection.
If the above does not work, you could manually added the DNS information to /etc/resolv.conf. The issue with this method is that you will have to do this every time you reboot your computer.
Use whatever text editor you know and add the following lines.
nameserver ipaddress.of.my.dnsserver -example nameserver 192.168.0.1
btncix and xcristi - I thank you very, very much ! Your way to solve the problem is working ! With putting the dns server's name in the /etc/resolv.conf it's all right.
Quote:
You might want to check your Network Manager profiles. You should delete any profile that tries to connect via wireless, reboot the computer, and see if the Network Manager reverts back to using your wired connection.
But this did not work. I could not find, but the Network Manager finds out always the wireless connections.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.