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-07-2010, 10:00 PM   #1
Ryan10
Member
 
Registered: Aug 2010
Posts: 71

Rep: Reputation: 0
Linux Internet Connection


So i have installed linux 13 OS from a CD and i have it all working now but am a bit stuck on how to connect to the internet. Im sure its an easy fix but not for me.

Thanks Ryan
 
Old 09-07-2010, 10:08 PM   #2
Ryan10
Member
 
Registered: Aug 2010
Posts: 71

Original Poster
Rep: Reputation: 0
Im sure its not that complicated
 
Old 09-07-2010, 10:21 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,657
Blog Entries: 12

Rep: Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894Reputation: 2894
Linux 13.05 what? Which distro? What type of ethernet card? What type of computer?

If you are trying to connect with wireless, try a wired connection, even if it means temporarily stringing a cable across the floor or moving the computer to another room.

Hook it up, reboot, then try pinging a site, such as yahoo.com.

(You may have to be root to run a ping.)

If you connect with a wired connection (and you likely will), that narrows the problem to your wireless. Run the command ifconfig -a as root and post the output.

The lspci command should tell you what type of ethernet card you have (if it is a USB card, try lsusb).

Once again, you should be root to do this type of trouble-shooting.
 
Old 09-07-2010, 10:29 PM   #4
Ryan10
Member
 
Registered: Aug 2010
Posts: 71

Original Poster
Rep: Reputation: 0
It shows my ethernet controller as Realtek Semiconductor
 
Old 09-07-2010, 10:49 PM   #5
Ryan10
Member
 
Registered: Aug 2010
Posts: 71

Original Poster
Rep: Reputation: 0
Well it works now if i plug it in directly through ethernet..but how do i keep it that way when i want wireless
 
Old 09-07-2010, 11:01 PM   #6
Ryan10
Member
 
Registered: Aug 2010
Posts: 71

Original Poster
Rep: Reputation: 0
Code:
eth0      Link encap:Ethernet  HWaddr 00:03:25:1c:7a:d9  
          inet addr:76.179.189.247  Bcast:255.255.255.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:30308 errors:2 dropped:3 overruns:2 frame:0
          TX packets:3618 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3285557 (3.1 MiB)  TX bytes:457501 (446.7 KiB)
          Interrupt:10 Base address:0x3000 

eth1      Link encap:Ethernet  HWaddr 00:0e:35:94:d6:70  
          inet6 addr: fe80::20e:35ff:fe94:d670/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:432 (432.0 B)
          Interrupt:10 Base address:0xc000 Memory:e0200000-e0200fff 

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:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1240 (1.2 KiB)  TX bytes:1240 (1.2 KiB)
 
Old 09-07-2010, 11:19 PM   #7
Ryan10
Member
 
Registered: Aug 2010
Posts: 71

Original Poster
Rep: Reputation: 0
Still can't figure out how to make it work with wireless
 
Old 09-07-2010, 11:29 PM   #8
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Need more details. What kind of wireless adapter do you have? Here's what I suggest:

Plug the Ethernet in and then run:

Code:
sudo apt-get install ndiswrapper
This will install NDISWrapper, which allows you to use the Windows driver for your adapter. Then, just insert the Windows disk for your network adapter and you're good to go with wireless.
 
Old 09-07-2010, 11:40 PM   #9
Ryan10
Member
 
Registered: Aug 2010
Posts: 71

Original Poster
Rep: Reputation: 0
Whats the "Windows Disk" exactly?
 
Old 09-07-2010, 11:52 PM   #10
Ryan10
Member
 
Registered: Aug 2010
Posts: 71

Original Poster
Rep: Reputation: 0
that code didnt work at all so i dont know what to do now
 
Old 09-07-2010, 11:54 PM   #11
Ryan10
Member
 
Registered: Aug 2010
Posts: 71

Original Poster
Rep: Reputation: 0
This is what comes up when i use lspci

Code:
root@Slackware13:~# lspci
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
02:07.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a9)
02:07.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a9)
02:07.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 01)
02:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:09.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
 
Old 09-08-2010, 12:43 AM   #12
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
I believe ndiswrapper is unnecessary as there is a native linux for your wifi device. This driver is most in kernels now. Can you answer the following:
1. What kernel are you using? If you don't know post the results of
Code:
uname -r
2. I believe your driver is ipw220. If your kernel has this driver it will be here: /lib/modules/{your kernel number}/kernel/drivers/net/wireless/ipw2x00/ipw2200.ko. Do you have this driver?
3. If 2=yes then is the driver installed? If you don't know, what is the output of this?
Code:
lsmod |grep ipw
If lsmod finds nothing then your driver isn't loaded so we will know what kind of help to give you. If the driver is loaded then we will also know what kind of help to give you.
ciao,
jdk
 
Old 09-08-2010, 02:46 AM   #13
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Quote:
Originally Posted by Ryan10 View Post
Code:
02:09.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
This last line means that you don't need ndiswrapper, as the card is already recognized. Try running the following commands:

Code:
[root@Slackware13:/root]# iwconfig wlan0 txpower on
[root@Slackware13:/root]# iwconfig wlan0 essid <network name> key <encryption key (if you have one)>
[root@Slackware13:/root]# iwconfig wlan0 commit
If that last command fails, try configuring the wireless from X.

Oh wait: You don't have X on a Slackware Live CD! Never mind...

Last edited by Kenny_Strawn; 09-08-2010 at 02:51 AM. Reason: export PS1=[\u@\h\w]# && echo "Never mind" >> this_post
 
Old 09-08-2010, 04:44 AM   #14
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,845
Blog Entries: 36

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
LQ has a helpful wiki article which may be your full solution.

http://wiki.linuxquestions.org/wiki/Wireless

Type iwconfig without any arguments in the Terminal to figure out which device has a wireless extension. If a device shows up then follow the wiki articles for configuring it to your wireless routers settings, otherwise post back here and we'll attempt to troubleshoot what is wrong with your card.

Last edited by sag47; 09-08-2010 at 04:47 AM.
 
Old 09-08-2010, 08:32 AM   #15
Ryan10
Member
 
Registered: Aug 2010
Posts: 71

Original Poster
Rep: Reputation: 0
This is what comes up when i run lsmod |grep ipw

Code:
ipw2200   128623 0
libipw     22459 1 ipw2200
cfg80211  109656 2 ipw2200,libipw
lib80211    3282 2 ipw2200,libipw
 
  


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
Internet connection problem under Linux - "Connection Reset" scmbg Linux - Networking 1 02-25-2010 12:44 PM
xp and linux internet connection farooqnasim Linux - Newbie 1 06-08-2009 05:33 PM
internet connection to newly installed linux, i have a dual up connection babu.knl Linux - Newbie 1 05-22-2008 11:36 PM
internet connection with linux sachitha Linux - Newbie 12 04-04-2005 11:35 AM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 08:02 PM


All times are GMT -5. The time now is 11:32 AM.

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