LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-27-2005, 05:28 PM   #1
TomX
LQ Newbie
 
Registered: Oct 2005
Posts: 15

Rep: Reputation: 0
Why is the internet not working in Linux?


Hey,

I recently (i.e. today) built a computer and have installed Ubuntu on it, I also have a computer with Windows XP installed on it.

This is my setup:
*****************
******Router******
*****///***\\\*****
***PC1 **** PC2***
******************

The asterisks are there to put emphasise on the router and PCs.

PC1 = Computer with Ubuntu installed on it.
PC2 = Computer with Windows installed on it.
Router = Router...

Basically, my modem is connected to my router which has two cables coming out of it, one to PC1 and one to PC2.

The internet on Windows XP is working fine but the internet on Ubuntu doesn't work.

Here's the settings on Windows XP:
Code:
Windows IP Configuration

        Host Name . . . . . . . . . . . . : FAMILY
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NIC
        Physical Address. . . . . . . . . : 00-40-F4-82-C6-58
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 82.42.16.130
        Subnet Mask . . . . . . . . . . . : 255.255.248.0
        Default Gateway . . . . . . . . . : 82.42.16.1
        DNS Servers . . . . . . . . . . . : 62.30.0.39
                                            195.188.53.175
I've tried setting the Networking settings on Ubuntu to match these but that failed.

Could somebody tell me where I've gone wrong or how to fix it. Also, if anybody has a link to website on how I can learn what's going on (I searched on Google but couldn't find anything relevant to me).

Thanks
Tom
 
Old 10-27-2005, 05:45 PM   #2
davonz
LQ Newbie
 
Registered: Oct 2005
Location: Darwin/Cairns AUS & NZ
Distribution: Mandrake/CentOS/SuSE
Posts: 16

Rep: Reputation: 0
Things to try:

type "ifconfig eth0" on linux pc to check settings for network card.

try pinging the router/other pc to make sure your network card is setup properly in linux..

check to see if there is a firewall running on linux box which may stop network from working..

swap the network cables from each pc to router.. eg: plug cable from router to pc1 into pc2 ...

Go get an ice coffee/beer, and go lay out in the sun in the garden and forget about it until tomorrow - what i would do !!!!!
 
Old 10-28-2005, 11:37 AM   #3
Ken_QTP
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
IP addresses

What type of connection is this dsl, cable, T1 do you have a block of ip addresses?
 
Old 10-29-2005, 08:35 AM   #4
ishti_du
LQ Newbie
 
Registered: Oct 2005
Location: Dhaka, Bangladesh
Posts: 22

Rep: Reputation: 15
Dear all,
sorry!! I am writing for help not replying to Tom's mail.
I am a new user in Linux, using Fedora core 2. I have Windows Xp as my other OS in PC. I also have internet connection in Xp. The IP address is supported by DHCP and the ISP took my MAC/NIC no. to assign so. Now the problem is I cannot configure the NIC in Linux- therefore can't access the internet in Linux. The NIC is a 10/100M Ethrnet PCI adapter of SURECOM company.It is not listed in the list of adapters in Linux. what can i do to access the internet in Linux??
Thanks in advance.
 
Old 10-31-2005, 11:01 AM   #5
Ken_QTP
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
It sounds like the adapter does not contain a linux driver check your dmesg after a bootup and post the output so i can see if it shows up at startup if it does you may just have to find a driver for your nic. if it does not show up there may actually be a problem with the nic or it just may not be seated correctly.
 
Old 11-01-2005, 01:41 AM   #6
ishti_du
LQ Newbie
 
Registered: Oct 2005
Location: Dhaka, Bangladesh
Posts: 22

Rep: Reputation: 15
Dear Ken_QTP,
Here is what you wanted to see:
-------------------------------****------------------------------------------------------
sh-2.05b# dmesg
Linux version 2.6.5-1.358 (bhcompile@bugs.build.redhat.com) (gcc version 3.3.3 2 0040412 (Red Hat Linux 3.3.3-7)) #1 Sat May 8 09:04:50 EDT 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000ffec000 (usable)
BIOS-e820: 000000000ffec000 - 000000000ffef000 (ACPI data)
BIOS-e820: 000000000ffef000 - 000000000ffff000 (reserved)
BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
zapping low mappings.
On node 0 totalpages: 65516
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 61420 pages, LIFO batch:14
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ASUS ) @ 0x000f5560
ACPI: RSDT (v001 ASUS P4XP-X 0x42302e31 MSFT 0x31313031) @ 0x0ffec000
ACPI: FADT (v001 ASUS P4XP-X 0x42302e31 MSFT 0x31313031) @ 0x0ffec0c0
ACPI: BOOT (v001 ASUS P4XP-X 0x42302e31 MSFT 0x31313031) @ 0x0ffec030
ACPI: MADT (v001 ASUS P4XP-X 0x42302e31 MSFT 0x31313031) @ 0x0ffec058
ACPI: DSDT (v001 ASUS P4XP-X 0x00001000 MSFT 0x0100000b) @ 0x00000000
ACPI: PM-Timer IO Port: 0xe408
Built 1 zonelists
Kernel command line: ro root=LABEL=/1 rhgb quiet
mapped 4G/4G trampoline to ffff3000.
Initializing CPU#0
CPU 0 irqstacks, hard=02345000 soft=02344000
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 1717.723 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Memory: 256444k/262064k available (1540k kernel code, 4916k reserved, 599k data, 144k init, 0k highmem)
Calibrating delay loop... 3399.68 BogoMIPS
Security Scaffold v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
There is already a security framework initialized, register_security failed.
Failure registering capabilities with the kernel
selinux_register_security: Registering secondary module capability
Capability LSM initialized
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000
CPU: After vendor identify, caps: 3febfbff 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 128K
CPU: After all inits, caps: 3febf3ff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU#0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU: Intel(R) Celeron(R) CPU 1.70GHz stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf21c0, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Enabled i801 SMBus device
Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off '
Simple Boot Flag at 0x3a set to 0x1
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1130847045.4294965761:0): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
PCI: Via IRQ fixup for 0000:02:05.0, from 255 to 11
PCI: Via IRQ fixup for 0000:02:05.1, from 255 to 10
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: Processor [CPU0] (supports C1)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i845 Chipset.
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 64M @ 0xf8000000
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
PCI: Enabling device 0000:02:0a.0 (0004 -> 0006)
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 0000:00:1f.1
ICH2: chipset revision 5
ICH2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdcMA, hddMA
hda: Maxtor 2F040L0, ATA DISK drive
Using cfq io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: ASUS CD-S520/A, ATAPI CD/DVD-ROM drive
hdd: ASUS CRW-4012A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S4 S5)
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 184k freed
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 144k freed
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
NET: Registered protocol family 10
Disabled Privacy Extensions on device 022db720(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
ACPI: Power Button (FF) [PWRF]
PCI: Enabling device 0000:02:05.2 (0014 -> 0016)
ehci_hcd 0000:02:05.2: EHCI Host Controller
ehci_hcd 0000:02:05.2: irq 5, pci mem 12848000
ehci_hcd 0000:02:05.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:05.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Dec-29
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1f.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1f.2 to 64
uhci_hcd 0000:00:1f.2: irq 5, io base 0000b400
uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1f.4: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1f.4 to 64
uhci_hcd 0000:00:1f.4: irq 9, io base 0000b000
uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PCI: Enabling device 0000:02:05.0 (0014 -> 0015)
uhci_hcd 0000:02:05.0: UHCI Host Controller
uhci_hcd 0000:02:05.0: irq 11, io base 0000d800
uhci_hcd 0000:02:05.0: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
PCI: Enabling device 0000:02:05.1 (0014 -> 0015)
uhci_hcd 0000:02:05.1: UHCI Host Controller
uhci_hcd 0000:02:05.1: irq 10, io base 0000d400
uhci_hcd 0000:02:05.1: new USB bus registered, assigned bus number 5
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
EXT3 FS on hda2, internal journal
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
cdrom: open failed.
cdrom: open failed.
Adding 465876k swap on /dev/hda3. Priority:-1 extents:1
IA-32 Microcode Update Driver: v1.13 <tigran@veritas.com>
microcode: No suitable data for cpu 0
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
SCSI subsystem initialized
inserting floppy driver for 2.6.5-1.358
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
via-rhine.c:v1.10-LK1.1.19-2.5 July-12-2003 Written by Donald Becker
http://www.scyld.com/network/via-rhine.html
PCI: Enabling device 0000:02:0b.0 (0094 -> 0097)
divert: allocating divert_blk for eth0
eth0: VIA VT6105 Rhine-III at 0xf2800000, 00:02:44:9e:1a:eb, IRQ 9.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 0021.
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (2047 buckets, 16376 max) - 296 bytes per conntrack
eth0: no IPv6 routers present
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
PCI: Enabling device 0000:00:1f.5 (0004 -> 0005)
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49498 usecs
intel8x0: clocking to 48000

--------------------------------------------------****-----------------------------------

I also thought of that. So tried to install the driver from the distribution CD that i was provided. But there are two problems:
1.It says in its manual [This driver support linux kernel version 2.2.x and 2.4.x now]"-but mine is 2.6.5-1.358. So will it work??

2. it says, after 'make install' is done to
[Check configuration file (/etc/modules.conf or /etc/conf.modules,it
depend on your Linux distribution) for loading kernel modules. Make sure
there is the following content in the configuration file, where # is
interface number (eg: alias eth0 rhinefet):
alias eth# rhinefet"]
-I found no such file in my distribution. so where do i look now??
 
Old 11-01-2005, 07:38 AM   #7
Ken_QTP
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
Looks like it loaded the driver your nic appears to be on eth0
eth0: VIA VT6105 Rhine-III at 0xf2800000, 00:02:44:9e:1a:eb, IRQ 9.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 0021.

Try ifconfig and send that it should have an entry for eth0
are you running some sort of internet firewall?
 
  


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
I need help :) INternet Not working :( lawownsu Red Hat 2 06-16-2005 01:22 PM
Got my dual boot working, now LINUX WON'T CONNECT TO THE INTERNET!?!?!? :-( Ausar Linux - Newbie 2 10-04-2004 07:54 AM
Epox 8RDA+ Motherboard - Internet on linux not working Rauko Linux - Newbie 23 05-16-2004 03:38 PM
Internet working, network not working... phoenix07 Fedora 1 04-11-2004 02:30 AM
win98 not working with linux on internet linuxwiz35 Linux - Networking 8 04-11-2003 04:51 PM

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

All times are GMT -5. The time now is 07:39 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