LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-12-2008, 12:49 PM   #1
twinscomp
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Rep: Reputation: 0
no internet in ubuntu. i have all the IP info posted here


i am new to linux. just installed ubuntu from cd in windows. now my computer is dual boot system, but no internet in ubuntu.
when i do ifconfig:

eth0 Link encap:Ethernet HWaddr 00:19:d1:02:df:bf
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)
Base address:0xecc0 Memory:dffe0000-e0000000

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:3418 errors:0 dropped:0 overruns:0 frame:0
TX packets:3418 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:172292 (168.2 KB) TX bytes:172292 (168.2 KB)
-----------------------------------------------------------------------

when i do lspci:

00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82P965/G965 PCI Express Root Port (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HH (ICH8DH) LPC Interface Controller (rev 02)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1)
04:04.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
04:05.0 Communication controller: Conexant HSF 56k Data/Fax Modem

------------------------------------------------------------------------
when i do ifconfig eth0

eth0 Link encap:Ethernet HWaddr 00:19:d1:02:df:bf
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)
Base address:0xecc0 Memory:dffe0000-e0000000

-----------------------------------------------------------------------
i tried sudo pppoeconf, but after scanning device, it says:

Sorry, I scanned 2 interfaces, but the access concentrator to your provider did no respond. please check your network and modem cables. another reason for the scan failure may also be aqnother running pppoe process which controls the modem.

------------------------------------------------------------------------

i try to connect to my neighbor's not encrypted wireless network.
please help. thanks!
 
Old 08-12-2008, 01:07 PM   #2
charlie0313
Member
 
Registered: Jan 2008
Location: Dunn Loring, VA
Distribution: Slackware 12.0, Ubuntu 8.04
Posts: 47

Rep: Reputation: 15
Make sure you have the right drivers for your wireless card. If you do and if you know the gateway IP then your set. Use iwconfig to see what your wireless card is called, ie ath1, eth1, next use ifconfig to bring up the wireless card, ie. ifconfig eth1 up. Use nm-tool and it should show you all the detected wireless networks and their freq and channel and stuff like that I think it shows the gateway address too. Use route to add the gateway, ie. route -add default gw 192.168.1.1 Then set your ip address with ifconfig: ifconfig eth1 inet 192.168.1.200. Use iwconfig and set the freq and channel and essid and you should be good to go. Look at the man pages for the commands to make sure they are right. Also add a DNS server to resolv.conf, for me the gateway takes care of that so just use the gateway address. I'm going off of memory but I'm 95% sure that will work. Make sure you look at the man pages for the commands in bold
 
Old 08-12-2008, 01:20 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
if it's wireless you are trying to do then....
I do not see a wireless connection in your ifconfig output

bcm43xx Linux Driver
http://www.debiantutorials.org/content/view/153/213/

or

ndiswrapper
http://wiki.linuxquestions.org/wiki/...e_one_54g_card


for your Ethernet connection you need to see if the Intel Gigabit Ethernet card was detected properly and the correct module was loaded.

cat /var/log/dmesg | grep -i eth

ethtool eth0

lsmod | grep e1000
 
Old 08-12-2008, 01:40 PM   #4
twinscomp
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
Make sure you have the right drivers for your wireless card.

i just checked, my wireless network card is integrated "Linksys wireless G PCI Network adapter with speedbooster" how do i know if i get the right driver.

here is the result when i do iwconfig

lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:""
Mode:Managed Channel:0 Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thrff Fragment thr=2346 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

when i tried to do ifconfig eth0 up, it says: Permission denied

thanks!
 
Old 08-12-2008, 07:14 PM   #5
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
twinscomp, did you read the ndiswrapper link that farslayer gave you?

The ifconfig you posted does not show your wireless card; the lspci you posted does.
This means you do not have the driver for the wireless card.

The ndiswrapper link that farslayer provided gives good detailed instructions for installing the driver.

here is the link again
 
Old 08-12-2008, 09:56 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
at the very least you could do a lsmod and see if the bcm43xx module has been automatically loaded by Ubuntu...

and I think it would be ifup eth0 or in the case of Ubuntu sudo ifup eth0 for the wired network card.

the Wireless would be more like ifup wlan0


I provided the links to the how-to's so you could read them because I am sure they would contain all of this information on how to verify the driver is loaded, how to configure the connection and how to bring the wireless card up...

if not the man pages are helpful

man iwlist
man iwconfig
man iwspy
man wireles

file:///usr/share/doc/wireless-tools/README.Debian
 
Old 08-13-2008, 11:31 AM   #7
twinscomp
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
thank you guys, but when i tried to save my text editor, it says: could not save the file. i don't have the permissions and check the typed location correctly,etc. maybe because i don't how to open a text editor as root?
please help!
 
Old 08-13-2008, 11:40 AM   #8
twinscomp
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
i just figured out how to save text editor, i saved it and closed it. and on terminal when i tried to do rmmod bcm43xx, it says module bcm43xx does no exist in /proc/modules.

thanks!
 
Old 08-13-2008, 12:50 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
what did you save ? what file are you editing ? hard to assist you if we don't know what you are doing..
 
Old 08-13-2008, 01:20 PM   #10
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
your initial post has an ifconfig showint an eth0 entry with no inet line and no ip addr
the ifconfig shows no eth1 entry so there should be no wireless adapter???
your lspci shows a wireless adapter and no cable adapter
your initial post also shows you doing an ppoe configuration which failed

If you have a dsl connection then ppoe is appropriate but if you have a Cable connection then you need to set up to connect to a DHCP server and obtain an ip address automatically

question 1 is your isp a Cable TV company or a DSL provider like bellsouth?
question 2 Are you trying to make a wireless connection or an ethernet cable connection?

if you did the ifup eth0 and brought the eth0 interface up then please do an ifconfig and repost it here.
 
Old 08-13-2008, 01:36 PM   #11
twinscomp
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
to farslayer:
i go to following link on your first reply:
ndiswrapper
http://wiki.linuxquestions.org/wiki/...e_one_54g_card

I tried to follow the instruction. on the text editor, I blacklist bc43xx and saved it.
then instruction tells to "Open up a terminal and type this"
1. rmmod bcm43xx
2. rmmod ndiswrapper
3. modprobe ndiswrapper
4. ndiswrapper -l

but i tried to do rmmod bcm43xx, it says module bcm43xx does no exist in /proc/modules.

thank you very much
 
Old 08-13-2008, 01:54 PM   #12
twinscomp
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
to John test

i try to connect to my neighbor's not encrypted wireless network.

after i did: ifconfig eth0 up
here is the result of ifconfig:

eth0 Link encap:Ethernet HWaddr 00:19:d1:02:df:bf
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)
Base address:0xecc0 Memory:dffe0000-e0000000

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:3434 errors:0 dropped:0 overruns:0 frame:0
TX packets:3434 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:172196 (168.1 KB) TX bytes:172196 (168.1 KB)

thank you very much!
 
Old 08-13-2008, 03:09 PM   #13
twinscomp
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
now i come to a new situation.
i installed the b43-fwcutter. on my hardware drivers list. i can see my broadcom b43 wireless driver now, but i can not enabled it ,it says: the firmware can not be legally shipped with operation system.
i still can not see it when i run ifconfig either,
please tell me how to do? thank you
 
Old 08-13-2008, 05:34 PM   #14
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
your latest ifconfig still shows no inet line for eth0 (if you look at the inet line for the lo interface you can see how it should look.
That says there is no ethernet cabal commecting your computer to the cable modem.
1. connect an Ethernet cable Cat 5 or 6 from the rj45 jack on your computer to the ethernet jack on your cable modem.
2. Reset your cable modem so that it will recognize your computer MAC address
3. Go to termingal and do dhclient eth0 to pull a new ip address
4. do ifconfig eth0 and post back here.
 
Old 08-13-2008, 07:35 PM   #15
twinscomp
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
i can connect to internet when i use the ethernet card, this is the new output when i do dhclient eth0 and ifconfig eth0

eth0 Link encap:Ethernet HWaddr 00:15:c5:cb:17:15
inet addr:192.168.0.178 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::215:c5ff:fecb:1715/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5498 errors:0 dropped:0 overruns:0 frame:0
TX packets:4237 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5676712 (5.4 MB) TX bytes:610741 (596.4 KB)
Interrupt:21

i think the problem is i don't have the firmware for my broadcom wireless card so ubuntu doesn't see my wireless card

thanks!
 
  


Reply



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
ceemedia will not get DVD info from internet ckent Linux - Software 0 12-12-2007 09:55 AM
Ubuntu 6.10 wireless issue Lots of Info ... need help! Smitty67 Ubuntu 2 04-21-2007 09:52 AM
info about setting up a ltsp server (ubuntu) mmoalem Linux - General 1 10-26-2006 03:12 PM
connect to internet w/ dhcp but don't know route info towsonu2003 Linux - Wireless Networking 5 10-13-2005 07:51 PM
which log gives me info about internet activity? dr_zayus69 Linux - Newbie 7 12-03-2004 05:14 PM

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

All times are GMT -5. The time now is 05:08 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
Open Source Consulting | Domain Registration