LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-16-2012, 08:57 PM   #1
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Rep: Reputation: Disabled
Unable to connect to the internet after distro install of SuSE 12.1


I recently installed openSuSE 12.1 from a distro disk and am unable to connect to the internet. I installed it, dual boot with Windows Vista, onto a HP Pavillion dv7-1245dx Entertainment Notebook PC. I have tried to connect to several public wireless networks, both encrypted and non-encrypted, to no avail. I will list some outputs below. I am sitting in a library with a separate Windows computer typing this thread now.

1. Can ping the loopback address on the SuSE laptop just fine.
2. Can ping nothing else, nslookup www.yahoo.com just sits there.
3. Cannot ping the SuSE laptop from my Windows computer.
4. On the SuSE laptop, Can go under Network Settings in YaST and my wireless adapter is recognized with the following details

AR5001 Wireless Network Adapter
MAC: (address is listed)
BusID : 0000:09:00.0
Device Name: wlan0
Started automatically at boot
IP address assigned using DHCP

5. Scrolling through network settings in YaST

Operating Mode: Managed
Network Name (ESSID) LU Big Red
Authentication Mode: No encryption
I click Next, OK, then it goes into Saving Network Configruation, and scrolls from "Write drivers", but it seems to stay a long time on "Activate network services"? It does scroll through to the end though.

I tried dmesg | grep wlan0 but the output is too long to list here.

ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:23:5A:44:E5:94
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:44 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8259 (8.0 Kb) TX bytes:8259 (8.0 Kb)

wlan0 Link encap:Ethernet HWaddr 00:24:2C:5BB:3E
inet addr:10.81.18.208 Bcast:10.81.31.255 Mask:255.255.224.0
inet6 addr: fe80::224:2cff:fe5b:db3e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13303 errors:0 dropped:0 overruns:0 frame:0
TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2027572 (1.9 Mb) TX bytes:21634 (21.1 Kb)

netstat -r

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.81.0.0 * 255.255.224.0 U 0 0 0 wlan0
loopback * 255.0.0.0 U 0 0 0 lo
link-local * 255.255.0.0 U 0 0 0 wlan0

Thanks in advance for the assistance.

Last edited by aristocratic; 09-16-2012 at 09:02 PM. Reason: provide additional details, forgot to indicate openSuse
 
Old 09-17-2012, 09:18 PM   #2
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Original Poster
Rep: Reputation: Disabled
Problem SOLVED. I am now able to get on the internet! Basically, I did not have the correct Gateway IP address in the kernel routing table, so I had to enter it through YaST.

This Linux questions thread helped me figure it out:

http://www.linuxquestions.org/questi...ateway-323479/

From the netstat output above, I noticed that my kernel routing table looked fishy. My Gateway IP address is 10.81.0.1, which is not listed in the table. I went under YaST, Network Settings --> Routing -->, and put the following under "Default IPv4 Gatweay"

Destination: 0.0.0.0
Gateway: 10.81.0.1
Genmask: 255.255.224.0

Does anyone know the correct netstat command for adding the Gateway IP? I now have to go into YaST each time I boot. The aforementioned LQ thread talks about editing startup sripts to make this happen, I will look at that later. This forum is a tremendous resource!

Last edited by aristocratic; 09-17-2012 at 09:20 PM. Reason: spelling
 
Old 09-18-2012, 08:30 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,359
Blog Entries: 55

Rep: Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546
Quote:
Originally Posted by aristocratic View Post
Problem SOLVED. I am now able to get on the internet! Basically, I did not have the correct Gateway IP address in the kernel routing table, so I had to enter it through YaST.
Well done fixing it yourself. Still odd though as your DHCP client should ask for it and the DHCP server should give it. Maybe check your DHCP client configuration and lease file?


Quote:
Originally Posted by aristocratic View Post
Does anyone know the correct netstat command for adding the Gateway IP?
See 'man route':
Code:
route add default gw 10.81.0.1 wlan0

Last edited by unSpawn; 09-18-2012 at 08:31 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Distro easy to install, uninstall and dialup connect to the internet Siton Linux - Distributions 4 06-27-2012 09:48 PM
Can't connect to internet- distro: Arch base install bgraybr Linux - Networking 2 09-24-2009 08:47 PM
Unable to get suse 6.2 to connect to internet qbazic Linux - Networking 1 05-13-2009 05:37 AM
Unable to connect to the internet on Suse 10.1 darkervisions Linux - Wireless Networking 1 09-27-2006 10:58 AM
Unable to connect to Internet when using static IP on SuSE 9.2 fyhuang Linux - Networking 2 01-26-2005 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration