Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Be careful when you type commands. You made a typo error.
Please retype that command correctly:
Code:
ping -c 3 75.126.162.205
Looks like the DNS or the default gateway is not working, but I need that output to confirm.
Either that, or your router is not connected to the internet.
try those command and see if you are connected to the internet:
This will open a text editor
Than add that line at the end of the file and save
Code:
nameserver 192.168.1.1
Check if internet works then.
and like the previous poster posted, please post the output of route -n indeed.
And be careful not to make typos! Best is to copy and paste the commands if you can.
I just realized that you have a connection, but that the problem is with the DNS. We ( you and the forum) have been operating with information overload.---Some of the diagnostics people have asked for are not relevant when you are actually connected.)
Please describe the internet setup that you are trying to access. For example, we already know that it is dynamic IP (dhcp), but--for example--are the DNS settings (These appear in resolv.conf) the ones supplied by the ISP, or were they detected during the DHCP connection?
Ok I have tryed the commands and this is what i get
Quote:
smith@smith-laptop:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth1
smith@smith-laptop:~$ ping -c 3 75.126.162.205
connect: Network is unreachable
smith@smith-laptop:~$ sudo iwconfig eth1 essid "linksys_ow_45452"
[sudo] password for smith:
smith@smith-laptop:~$ sudo dhclient eth1
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:25:56:66:4c:0d
Sending on LPF/eth1/00:25:56:66:4c:0d
Sending on Socket/fallback
DHCPREQUEST of 192.168.0.51 on eth1 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
DHCPOFFER of 192.168.0.124 from 192.168.0.2
DHCPREQUEST of 192.168.0.124 on eth1 to 255.255.255.255 port 67
DHCPACK of 192.168.0.124 from 192.168.0.2
bound to 192.168.0.124 -- renewal in 260779 seconds.
smith@smith-laptop:~$ sudo route add default gw 192.168.1.1
SIOCADDRT: No such process
smith@smith-laptop:~$ sudo gedit /etc/resolv.conf
smith@smith-laptop:~$
I did get into the text editor and added the nameserver 192.168.1.1 to the list and then tryed to connect to the internet via Firefox. still no luck
The connection to the internet i am trying to get is wireless. the IPS and DNS setting are set to automatic and automatic (DHCP)
looking at the pings and things that i am sending out i think that i am connecting to the internet with the wireless card connection. However stepping back and straining my brain, like all of you that are helping, could it just be that i need a Network Controller? I can not find one on my computer? if so what is a good one and how do i load it without the internet? I have found and downloaded the WICD-1.6.2.2.tar.gz and the wicd-1.7.0.tar.bz2 but can not find an .exe file to install them with.
Once again I would like to thank everyone for their help in trying to get my computer connected.
could it just be that i need a Network Controller? I can not find one on my computer? if so what is a good one and how do i load it without the internet? I have found and downloaded the WICD-1.6.2.2.tar.gz and the wicd-1.7.0.tar.bz2 but can not find an .exe file to install them with.
Once you extract those files, they would probably come with installation instructions, in text files like README or INSTALL.
However, you are better off installing software using your package manager. With no internet, this is a little tricky, but can be done. There is a guide here: http://www.planetoss.com/detail.php?id=13
(You will be relieved to know that once you HAVE working internet, installing and updating software will be MUCH easier.)
The connection to the internet i am trying to get is wireless. the IPS and DNS setting are set to automatic and automatic (DHCP)
looking at the pings and things that i am sending out i think that i am connecting to the internet with the wireless card connection. However stepping back and straining my brain, like all of you that are helping, could it just be that i need a Network Controller?
NO!!!---the problem is with DNS---that is why you can connect with a numeric IP, but not with a domain name. This is why I asked about your ISP, etc..... Please Provide Details: Who owns/manages the wireless access point you are connecting to, is there a router, etc.
I have found and downloaded the WICD-1.6.2.2.tar.gz and the wicd-1.7.0.tar.bz2 but can not find an .exe file to install them with.
Linux does not use .exe files......
The generic instructions for downloaded packages such as above:
Unpack the archive using tar**
Look for a README or other instructions
Follow instructions
**To unpack:
for .tar.gz: tar -xzvf filename
for .tar.bz2: tar -xjvf filename
Quote:
Once again I would like to thank everyone for their help in trying to get my computer connected.
i not totally convinced that it is just a dns problem yet because both times he was supposed to ping outside of his subnet, he typoed one and wasnt connected to his ssid the second time.
Please forget about wicd for now. Get your connection working and then we will install it.
Type the commands I suggested above and we will see what is wrong with your connection. Installing wicd will be dead easy when your connection is working.
Boy i hope installing programs are eases when you are connected to the internet! However i ran the commands again, and the wireless router is the linksys_OW_45452, the IP address is 10.1.1.60 Subnet Mask 255.255.255.0 DNS 10.1.1.254 Where do i insert the ip address in the network connections program?
Quote:
smith@smith-laptop:~$ sudo iwconfig eth1 essid "linksys_ow_45452"
[sudo] password for smith:
smith@smith-laptop:~$ sudo dhclient eth1
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:25:56:66:4c:0d
Sending on LPF/eth1/00:25:56:66:4c:0d
Sending on Socket/fallback
DHCPREQUEST of 192.168.0.51 on eth1 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.0.51 on eth1 to 255.255.255.255 port 67
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
Trying recorded lease 192.168.0.51
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
Well this would explain things. The 'default gateway' should be your router, IP 10.1.1.254.
It also appears that you are not getting DHCP. Thus, try setting a static IP in the range 10.1.1.0-253
You would expect to be able to ping 10.1.1.254 too.
You would NOT expect to ping 192.168.0.1, since it doesn't exist on your network.
Really, the assumption that your network used the 192.168.1.0-254 IP range was never warranted, I'm not sure how it arose.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.