LinuxQuestions.org
Visit Jeremy's Blog.
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-09-2009, 08:29 PM   #1
v8skittles
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Unable to connect to Internet


Ok, today I installed Slackware 13.0 on my Dell Latitude C640. I have previously installed KUbuntu around 2 years ago, and could successfully connect to the internet. However after installing Slackware I have discovered I could not connect to the Internet.

Router: Linksys WRT54GS v2

I have tried running netconfig and entering all the necessary info, and editing rc.inet1 and entering the IP info but that also did not work. Ive also tried going into Network settings but it will say "Could not parse XML". Any thoughts?
 
Old 09-09-2009, 08:41 PM   #2
karlatLQ
Member
 
Registered: Sep 2009
Posts: 67

Rep: Reputation: 19
start here

Start here:

http://www.slackware.com/config/network.php
 
Old 09-09-2009, 08:43 PM   #3
v8skittles
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
I have but I couldn't get anything to work, and I'm pretty sure I didn't change anything incorrectly .
 
Old 09-09-2009, 09:14 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Well, if Kubuntu worked 2 years ago, Slack13 will most certainly work today.

We need to know what network device (the NIC) you are using first. You can identify this by the command:

shell# lspci -vv

and posting for us the part about the NIC. Or if it's a USB device (which it may be, since that looks like a wireless router and the USB thingies are popular), do the following:

shell# lsusb

and show us that output.

Next, provide the output of the command:

shell# lsmod.

Since you say that all was well with Kubuntu, I'm suspecting that providing the above info will be helpful to know, but the problem actually lies in your rc.inet1 file.

As for the "Network Settings" thing, I haven't a clue about the XML error, but I've never got the GUI tools to work for configuring my network (and to be fair, I haven't tried them on Slack13 yet). Did you try using Wicd? That apparently works a charm.

Also, are you using DHCP to get your IP address, and if so, have you got it enabled in rc.inet1.conf? Why not post for us the rc.inet1 file too. More info is better than less and also, check your /etc/resolv.conf file and see what's in there; there should be at least two nameserver addresses.

Sasha
 
Old 09-09-2009, 10:40 PM   #5
v8skittles
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
NIC: 3Com Corporation 3c905C- TX/TX-M

Ill try to get wicd tomorrow, for I am too tired to search tonight.
 
Old 09-10-2009, 04:16 PM   #6
v8skittles
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
My friend who also has Slackware, and who recommended Slackware told me that there is something called Wpa_Supplicant already setup. How do I access it?
 
Old 09-10-2009, 04:34 PM   #7
karlatLQ
Member
 
Registered: Sep 2009
Posts: 67

Rep: Reputation: 19
Explain how you are trying to connect to the internet. Note that Slackware is considered a bit more of an advanced distribution than Ubuntu. You said that you were able to connect to the internet with Ubuntu. Were you using the exact same computer?

For wpa supplicant, here is a web page from a Google search: WPA It is not Slackware specific, but can give you some ideas about what to do.

Can you explain what is the hardware on your computer that you are using to try to connect to the internet? That will allow you to get better help on the forum.

What type of internet access do you have?
 
Old 09-10-2009, 04:47 PM   #8
v8skittles
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
P4 2.0 GHZ Processor
1.0GB RAM
Ati Mobility Radeon 7500 32mb
NIC: 3Com Corporation 3c905C- TX/TX-M

I am using a wired connection that goes through my router. I forgot to mention that when I ran kubuntu I was on a wireless connection if that helps.
 
Old 09-10-2009, 05:13 PM   #9
karlatLQ
Member
 
Registered: Sep 2009
Posts: 67

Rep: Reputation: 19
What you want to find out if your NIC card is supported by Slackware, and then if you have it configured properly. Then, if your router and NIC are working right, and if your router is connected to the internet.

From the terminal or command line (bash), which has a shell prompt ">" usually.

Quote:
> sudo lspci -vv
From this output, look for the part that says "network interface controller" or something like that. Then, look for the kernel module part. Post the answers to that. For example, "forcedeth"

Quote:
> ifconfig
From this output, look to see if the ethernet interface is up. Post the answers. For example,

Quote:
Link encap:Ethernet HWaddr 00:16:2B:E5:1D:43
inet addr:132.108.11.4 Bcast:132.108.11.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Also from that, see the loopback is there:
Quote:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
And, post the results from your file /etc/resolv.conf
Quote:
nameserver 123.123.123.123
And post the results from the command:
Quote:
> sudo route
 
Old 09-10-2009, 05:54 PM   #10
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The results of the "lspci -vv" command will help determine the controller used in your wireless device.

Here is an example for my netbook:
Code:
04:00.0 Network controller: Atheros Communications Inc. Device 002b (rev 01)
        Subsystem: Foxconn International, Inc. Device e016
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at f0200000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: ath9k
        Kernel modules: ath9k
When I went from Fedora 11 to openSuSE 11.1, wireless wouldn't work. This was because I needed a newer kernel version so ath9k would recognize the Atheros device my Gateway netbook uses. If you don't see the "Kernel modules:" line at the end, you may have the same situation.
 
Old 09-10-2009, 06:44 PM   #11
karlatLQ
Member
 
Registered: Sep 2009
Posts: 67

Rep: Reputation: 19
Quote:
Originally Posted by jschiwal View Post
The results of the "lspci -vv" command will help determine the controller used in your wireless device.
Good. But, v8skittles has a "wired connection".
Quote:
I am using a wired connection that goes through my router.
So, it would help to find out about the NIC card.
 
Old 09-11-2009, 08:30 AM   #12
v8skittles
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
I switched to a wireless connection yesterday. If necessary I can switch back, I used wired because I occasionally gamed on my laptop but I have been busy with school so I stopped, and it's one less cable going wireless.

I am using a Wireless-G Network Adapter Model. WPC54GS ver 2

For the Network Controller Kernel Module it says: ssb

Link encap: Ethernet HWaddr 00:02:2d;7e:bf:2a
inet6 addr: fe80::202:2dff:fe7e:bf2a/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1

For the resolv.conf it says: search example.net

Results of sudo route:

Destination Gateway Genmask Flags Metric Ref Use Iface
loopback * 255.0.0.0 U 0 0 0 lo
 
Old 09-11-2009, 12:17 PM   #13
karlatLQ
Member
 
Registered: Sep 2009
Posts: 67

Rep: Reputation: 19
Quote:
Originally Posted by v8skittles View Post
I switched to a wireless connection yesterday. ...I am using a Wireless-G Network Adapter Model. WPC54GS ver 2
Both should work in Linux unless there is hardware incompatibility. Read what the moderator said about wireless - jschiwal.

The troubleshooting that I was giving you was more for the wired network, but some will apply to the wireless as well. Information from your ISP could be helpful too as well as what type of internet connection you have from your ISP. Did you use the same ISP when you connected with Ubuntu and the same computer configuration and the same computer?

Changing comptuers, ISPs, or computer configurations in the middle of troubleshooting or problem solving on the forum makes it difficult to resolve the issues. There are a few forum posts on configuring connections to the internet for both wired and wireless connections.

For the wireless connection, try:

Code:
> iwconfig
or if root permission is needed then try

Code:
> sudo iwconfig
Then if you see an entry like "wlan0" then try this:

Code:
> sudo iwconfig wlan0 up
or its equivalent. Read the man page by trying this:

Code:
> man iwconfig
It looks like the next step could be configuring loopback and the default route, and then configuring route.conf with the nameservers for your ISP. Post your results from the iwconfig commands.
 
Old 09-14-2009, 06:58 PM   #14
v8skittles
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Everything was is exactly the same as the time I ran kubuntu
 
Old 09-14-2009, 08:24 PM   #15
v8skittles
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
For > sudo iwconfig wlan0 up it says unknown command "up".
For > iwconfig it has

lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11b ESSUD:"" Nickname:"darkstar"
Ill skip to Access point: None

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:""
Access Point: Not-Associated
 
  


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
Able to connect to default Gateway, Unable to connect to internet Dumb.Coder Linux - Newbie 11 04-14-2009 04:22 AM
Unable to connect to internet, dmickeym1 Linux - Networking 2 05-31-2006 07:28 AM
unable to connect to the internet trustjitu Linux - General 4 02-02-2006 11:17 PM
Unable to connect to the Internet Melanieb Suse/Novell 4 08-17-2005 11:51 AM
Unable to connect to the internet bear2x Linux - Networking 6 07-22-2005 08:42 AM


All times are GMT -5. The time now is 12:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration