LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-31-2007, 11:05 AM   #1
muskvar
Member
 
Registered: May 2007
Posts: 54

Rep: Reputation: 15
Internet not working in ubuntu 7.04


the problem is that i can not connect to internet, i have a DSL modem


Whats the problem with 7.04?

i have winXP too, configured by auitomatic by DHCP, and its working OK.
 
Old 07-31-2007, 11:09 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It's hard to help with such little information. How is your machine connected to the modem? If via Ethernet, what kind of network card? If via USB, what kind of modem is it?
 
Old 08-01-2007, 02:22 AM   #3
muskvar
Member
 
Registered: May 2007
Posts: 54

Original Poster
Rep: Reputation: 15
sorry for the little info,
mine is a standalone desktop machine connected thru a DSL modem.
i have a VIA Rhine II Fast ethernet adapter.
i had the option of connecting the modem thru the USB port but chose to connect it to the LAN port so that i can add any other computer later(say a laptop) which can wirelessly connect to the modem.
 
Old 08-01-2007, 02:31 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yeah, Ethernet is also easier to get working. Can you post the output of "lsmod" and "ifconfig -a" please?
 
Old 08-01-2007, 05:53 AM   #5
sussane
LQ Newbie
 
Registered: Aug 2007
Posts: 19

Rep: Reputation: 0
check your /etc/resolv.conf file and route
# route -n
 
Old 08-02-2007, 12:10 AM   #6
muskvar
Member
 
Registered: May 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Which part of the output do you need. the problem is i need to switch back and forth between windows and ubuntu.so i tried saving the output as a text file in the thumb drive and opened it in windows.

this is how it looks:
muskvar@muskvar-desktop:~$ lsmod
Module Size Used by
battery 10756 0
ac 6020 0
thermal 14856 0
processor 31048 1 thermal
fan 5636 0
button 8720 0
via_rhine 25608 0
mii 6528 1 via_rhine
pppoe 15424 0
pppox 4488 1 pppoe
ppp_generic 29076 2 pppoe,pppox
slhc 7680 1 ppp_generic
binfmt_misc 12680 1
rfcomm 40856 0
l2cap 25728 5 rfcomm
bluetooth 55908 4 rfcomm,l2cap
ppdev 10116 0
speedstep_lib 6148 0
cpufreq_powersave 2688 0
cpufreq_conservative 8200 0
cpufreq_ondemand 9228 0
cpufreq_userspace 5408 0
cpufreq_stats 7360 0
freq_table 5792 2 cpufreq_ondemand,cpufreq_stats
tc1100_wmi 8068 0
pcc_acpi 13184 0
dev_acpi 12292 0
sony_acpi 6284 0
dock 10268 0
asus_acpi 17308 0
backlight 7040 1 asus_acpi
sbs 15652 0
i2c_ec 5888 1 sbs
container 5248 0
video 16388 0
nls_utf8 3072 2
ntfs 107764 2
nls_iso8859_1 5120 4
nls_cp437 6784 4
vfat 14208 4
fat 53916 1 vfat
ipv6 268704 8
lp 12452 0
fuse 46612 0
snd_via82xx 29208 1
gameport 16520 1 snd_via82xx
snd_ac97_codec 98336 1 snd_via82xx
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44544 0
snd_mixer_oss 17408 1 snd_pcm_oss
snd_pcm 79876 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10888 2 snd_via82xx,snd_pcm
snd_mpu401_uart 9472 1 snd_via82xx
snd_seq_dummy 4740 0
snd_seq_oss 32896 0
snd_seq_midi 9600 0
snd_rawmidi 25472 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
usblp 14848 0
snd_seq 52592 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 23684 2 snd_pcm,snd_seq
snd_seq_device 9100 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 54020 13 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi ,snd_seq,snd_timer,snd_seq_device
parport_pc 36388 1
soundcore 8672 1 snd
via_agp 11264 1
agpgart 35400 1 via_agp
psmouse 38920 0
i2c_viapro 10132 0
i2c_core 22784 2 i2c_ec,i2c_viapro
parport 36936 3 ppdev,lp,parport_pc
shpchp 34324 0
pci_hotplug 32576 1 shpchp
pcspkr 4224 0
serio_raw 7940 0
af_packet 23816 2
evdev 11008 3
tsdev 8768 0
ext3 133128 1
jbd 59816 1 ext3
mbcache 9604 1 ext3
ide_cd 32672 0
cdrom 37664 1 ide_cd
ide_disk 17024 10
ata_generic 9092 0
libata 125720 1 ata_generic
scsi_mod 142348 1 libata
generic 5124 0 [permanent]
usbhid 26592 0
hid 27392 1 usbhid
floppy 59524 0
via82cxxx 10372 0 [permanent]
ehci_hcd 34188 0
uhci_hcd 25360 0
usbcore 134280 5 usblp,usbhid,ehci_hcd,uhci_hcd
fbcon 42656 0
tileblit 3584 1 fbcon
font 9216 1 fbcon
bitblit 6912 1 fbcon
softcursor 3200 1 bitblit
vesafb 9220 0
capability 5896 0
commoncap 8192 1 capability


muskvar@muskvar-desktop:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:76:B1:41:21
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:360 (360.0 b) TX bytes:4729 (4.6 KiB)
Interrupt:18 Base address:0xe800

eth0:avah Link encap:Ethernet HWaddr 00:0C:76:B1:41:21
inet addr:169.254.4.181 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:18 Base address:0xe800

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:233 errors:0 dropped:0 overruns:0 frame:0
TX packets:233 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19762 (19.2 KiB) TX bytes:19762 (19.2 KiB)


muskvar@muskvar-desktop:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 1000 0 0 eth0
 
Old 08-02-2007, 12:31 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
OK, so the kernel module for your network card is loaded as expected. You sort of have two entries for eth0 in your ifconfig output . Anyway, the IP address that it has isn't a "proper" one. Try "sudo dhclient eth0" and then see what ifconfig says.
 
Old 08-04-2007, 12:48 AM   #8
muskvar
Member
 
Registered: May 2007
Posts: 54

Original Poster
Rep: Reputation: 15
muskvar@muskvar-desktop:~$ sudo dhclient eth0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:0c:76:b1:41:21
Sending on LPF/eth0/00:0c:76:b1:41:21
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
muskvar@muskvar-desktop:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:76:B1:41:21
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:8438 (8.2 KiB)
Interrupt:18 Base address:0xe800

eth0:avah Link encap:Ethernet HWaddr 00:0C:76:B1:41:21
inet addr:169.254.4.181 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:18 Base address:0xe800

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:301 errors:0 dropped:0 overruns:0 frame:0
TX packets:301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25873 (25.2 KiB) TX bytes:25873 (25.2 KiB)
 
Old 08-04-2007, 09:15 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Are you sure you're using DHCP under Windows? Also what kind of modem is it?
 
Old 08-04-2007, 10:39 AM   #10
Kenji-x
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Nic

Hi man, i was having the exact same problem like you, exept that i'm using ADSL (connected to an ADSL modem via ethernet RJ45 cable).

Did a lspci -v command and my ethernet card shows up fine.

When I boot to windows it work. The led light that tells where the the ethernet cable is plug or not blinks; but when i boot to ubuntu (feisty), the the ethernet led on the modem stops blinking.

And when i did a sudo /etc/init.d/networking restart I get the same message like you.

Funny thing, i even change my ip to static and ping my modem which is 192.168.1.1 and no reply.

After many reboots I went to the bios and enable "boot from LAN ROM" in my bios. It shows some funny message. So i reboot again and disable the "boot from Lan rom" option. and voila my ADSL and internet work. I really don't know what was the problem and what i did that made it worked.

I was frustrated enough to almost get a new network card.
 
Old 08-05-2007, 08:34 PM   #11
muskvar
Member
 
Registered: May 2007
Posts: 54

Original Poster
Rep: Reputation: 15
I am Very sure that i am using DHCP under windows.
This is because each time i switch off and put on my modem i get assigned a different IP address.
 
Old 08-05-2007, 08:39 PM   #12
muskvar
Member
 
Registered: May 2007
Posts: 54

Original Poster
Rep: Reputation: 15
I have a Quidway WA1003A series modem which has a built in wireless ADSL router for supporting a local wireless LAN. The manufacturer name is HUAWEI.
 
Old 08-05-2007, 08:45 PM   #13
muskvar
Member
 
Registered: May 2007
Posts: 54

Original Poster
Rep: Reputation: 15
sorry Nylex,i am using an ADSL modem NOT a DSL Modem.
 
Old 08-05-2007, 11:47 PM   #14
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Same thing isn't it? . Anyway, hmm, what's in your /etc/resolv.conf as sussane suggested?
 
Old 08-06-2007, 11:18 PM   #15
muskvar
Member
 
Registered: May 2007
Posts: 54

Original Poster
Rep: Reputation: 15
muskvar@muskvar-desktop:~$cat /etc/resolv.conf
nameserver 4.2.2.1
nameserver 4.2.2.2
 
  


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
Ubuntu Feisty - Sound was working, but mysteriously stops working after reboot. woodsy934 Linux - Software 7 07-04-2011 06:39 PM
Wireless internet in Ubuntu not working bs7OH Linux - Newbie 1 06-15-2006 12:35 AM
ATI 3D working in Ubuntu 6.06! How I got it working. steely Linux - Hardware 1 06-03-2006 11:59 PM
Internet not working, network working Vossy Linux - Networking 3 12-20-2005 05:20 PM
Internet working, network not working... phoenix07 Fedora 1 04-11-2004 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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