LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-03-2006, 03:46 AM   #1
sanga
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
Cool I cannot access internet from linux


I cannot access inernet from linux but can connect to internet from windows on a dual boot machine. I used to access the internet but suddenly it stopped.Please help.

Last edited by sanga; 08-03-2006 at 08:30 AM.
 
Old 08-03-2006, 04:10 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
Some details would help - what distro are you using? What error messages do you get? What have you done to try & fix the problem? etc.
 
Old 08-03-2006, 05:04 AM   #3
friskydrifter
Member
 
Registered: Jan 2003
Location: AU
Distribution: Whatever - mainly Red Hat
Posts: 32

Rep: Reputation: 15
1. In most cases of this type the problem is with your /etc/resolv.conf file.

It needs to have the ip address of your (guess) ADSL router if it is doing DNS for your network , or your ISP's DNS Addresses.

The format of the file should be

nameserver xxx.xxx.xxx.xxx

Heres my /etc/resolv.conf

nameserver 192.168.0.254

That address is my adsl router.

2. Another problem which can be mistaken for the above is if you are using firefox for your browser and it is using ipv6
Heres a link to show u how to fix it - easy 3 steps.

http://en.opensuse.org/Disable_IPv6_for_Firefox

If that doesnt work its prolly something to do with your network settings - deal with that later if the above steps dont help.


Cheers

Last edited by friskydrifter; 08-03-2006 at 05:06 AM.
 
Old 08-03-2006, 05:11 AM   #4
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 214

Rep: Reputation: 35
Hi,

I would first check if the Ethernet cable is connected and active on your OS. You can do that by looking in the "network configuration" panel. You will probably have to su and then try to check under "system-config-network" or something similar.

Cheers
 
Old 08-03-2006, 08:34 AM   #5
sanga
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sanga
I cannot access inernet from linux but can connect to internet from windows on a dual boot machine. I used to access the internet but suddenly it stopped.Please help.
I use SUSE Linux 10.1 and my NIC SiS 900 based ethernet card. I initially installed Fedoora core 5 and had the samne problem.
 
Old 08-03-2006, 08:37 AM   #6
loopz
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
did you checked the -
ipconfiguration of ur system ??
 
Old 08-03-2006, 08:38 AM   #7
loopz
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
did you checked the -
ipconfiguration of ur system ??
 
Old 08-03-2006, 09:19 AM   #8
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
I suspect frisky's correct: You're using IPV6 and you need to be on IPV4
 
Old 08-03-2006, 09:53 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,446
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Quote:
Originally Posted by sanga
I cannot access inernet from linux but can connect to internet from windows on a dual boot machine. I used to access the internet but suddenly it stopped.Please help.
Hi,

To assist, you must provide a little more information. To just ask for help with 'I cannot access inernet from linux but ...' will get both of us no where.

For future reference you could check out the website for how to ask questions.

How are you attempting to connect, wired or wireless?

Since my crystal ball is cracked and the warranty on it has expired. Please post the output of commands via cli as root;

Code:
#dmesg |grep eth           #check what is recognized
#ifconfig -a               #get device info
#iwconfig                  #unsure what you connect with
#route -n                  #get route table
#uname -a                  #kernel ?
#lsmod                     #modules loaded

The output should be posted un-edited.

BTW, LQ has a good spell checker!
 
Old 09-09-2006, 02:21 AM   #10
Mr_Jimm
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Pardon pulling up an old thread, but this just happened to me, so I'll post my own version of the requested info in hope of shedding some light (please :E).

In summary -- Also using a dual-boot machine. All is well networkwise in Windows, but as of today suddenly I have no access in Suse 10.0 (not even to the router). Network adapter is an Intel Pro/100 VE. I am not aware of any recent updates or configuration changes (though in response to the problem I have tried reconfiguring the card using YaST and editing resolv.conf manually. No harm done, but no progress).

I get the following errors at bootup:
Code:
eth0 interface could not be set up

setting up service network failed
And here are the requested outputs.

dmesg:
Code:
e100: eth0: e100_probe: addr 0xfeafc000, irq 10, MAC addr xx:xx:xx:xx:xx:xx
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
eth0: no IPv6 routers present
ifconfig -a:
Code:
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/xx Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1495 (1.4 Kb)  TX bytes:6110 (5.9 Kb)

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:68 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6938 (6.7 Kb)  TX bytes:6938 (6.7 Kb)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  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:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
iwconfig correctly announces that I have no wireless interfaces.

lsmod
Code:
Module                  Size  Used by
hfsplus                75140  0 
vfat                   12800  0 
fat                    49692  1 vfat
subfs                   7552  1 
ipt_pkttype             1664  1 
ipt_LOG                 6912  7 
ipt_limit               2304  7 
speedstep_lib           4228  0 
freq_table              4612  0 
snd_pcm_oss            59168  0 
snd_mixer_oss          18944  1 snd_pcm_oss
snd_seq                51984  0 
snd_seq_device          8588  1 snd_seq
button                  7056  0 
battery                10244  0 
ac                      5252  0 
af_packet              21384  2 
edd                     9824  0 
usbhid                 43616  0 
ip6t_REJECT             5504  3 
e100                   35456  0 
i2c_i801                8844  0 
ipt_REJECT              5632  3 
i2c_core               20368  1 i2c_i801
mii                     5504  1 e100
ohci_hcd               20228  0 
nvidia               3708044  12 
ipt_state               1920  12 
generic                 4484  0 [permanent]
snd_intel8x0           33504  0 
snd_ac97_codec         91004  1 snd_intel8x0
snd_ac97_bus            2432  1 snd_ac97_codec
snd_pcm                93064  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              24452  2 snd_seq,snd_pcm
snd                    60420  8 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9184  1 snd
snd_page_alloc         10632  2 snd_intel8x0,snd_pcm
uhci_hcd               32016  0 
ehci_hcd               32136  0 
shpchp                 88676  0 
pci_hotplug            26164  1 shpchp
usbcore               112512  5 usbhid,ohci_hcd,uhci_hcd,ehci_hcd
intel_agp              22044  1 
agpgart                33096  2 nvidia,intel_agp
iptable_mangle          2688  0 
iptable_nat            22228  0 
iptable_filter          2816  1 
ip6table_mangle         2304  0 
ip_conntrack           42168  2 ipt_state,iptable_nat
ip_tables              19456  8 ipt_pkttype,ipt_LOG,ipt_limit,ipt_REJECT,ipt_state,iptable_mangle,iptable_nat,iptable_filter
ip6table_filter         2688  1 
ip6_tables             18176  3 ip6t_REJECT,ip6table_mangle,ip6table_filter
ipv6                  242752  19 ip6t_REJECT
parport_pc             38980  1 
lp                     11460  0 
parport                33864  2 parport_pc,lp
nls_utf8                2048  2 
ntfs                  182288  2 
ext3                  130440  1 
jbd                    59940  1 ext3
dm_mod                 54972  0 
reiserfs              250480  2 
fan                     4996  0 
thermal                14472  0 
ide_cd                 39684  0 
cdrom                  36896  1 ide_cd
processor              24512  1 thermal
piix                    9988  0 [permanent]
ide_disk               17152  8 
ide_core              122380  4 generic,ide_cd,piix,ide_disk
uname
Code:
Linux suse1 2.6.13-15.11-default #1 Mon Jul 17 09:43:01 UTC 2006 i686 i686 i386 GNU/Linux

Last edited by Mr_Jimm; 09-09-2006 at 02:22 AM.
 
Old 09-09-2006, 01:18 PM   #11
Mr_Jimm
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
You might also want to know that unplugging/replugging the router appears to have resolved whatever was wrong.
 
Old 03-06-2008, 03:33 AM   #12
ankurk
LQ Newbie
 
Registered: Feb 2008
Posts: 15

Rep: Reputation: 0
Talking

Hi guys i have just installed redhat 7.3 . now i want to use internet but don't know how to... please tell me how to configure. network connection n proxy setting n all the stuff to be configured..

details are

proxy1.rbh.com // proxy
255.255.255.0 mask
152.144.xxx.xxx ip

Thanks........
 
Old 03-06-2008, 11:37 AM   #13
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,446
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Hi,

Did you check the post date?

You should create a new thread for your problem.
 
  


Reply

Tags
linux, net


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
Locking down linux for access only to the internet. toddp387 Linux - Security 8 07-24-2006 12:20 AM
How do i access internet in Linux? jefy_chacko Linux - Software 9 05-26-2006 05:28 PM
linux on vmware, how to access the internet linuxpharoah Linux - Networking 1 10-11-2005 03:13 AM
configure linux to internet access in a LAN poncho4u Slackware 9 08-16-2003 11:56 AM
How do u setup your linux machine so that u may access it from the internet? gonus Linux - Software 4 06-14-2002 12:56 AM


All times are GMT -5. The time now is 01:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration