LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-13-2009, 05:59 AM   #1
dragonbeast25
LQ Newbie
 
Registered: May 2009
Posts: 8

Rep: Reputation: 0
Angry Now i know my internet works, How do i do this with my PC?


Ok Im running windows xp professional right now, i boot Live Cd Ubuntu 9.04 on my laptop Plug the LAN ethernet cord from my router to my laptop ethernet port on laptop, when it boots in it automaticly connects on my laptop and my modem glows up on that port(Meaning it found a computer)..

On my PC (Running now) i do same thing but in this case the router does not glow in live cd, only in windows xp And my ethernet cord is pluged in same place everything but sounds like my ethernet port is not sending power when running live cd.

P.S my Laptop has xp aswell.
 
Old 05-13-2009, 06:28 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
It is not that the PC sends power. It is the link connection status shown by the router.
The reason the modem port is not glowing may be because of lots of reasons
1. The network card is not recognized
2. The network interface is not up
3. The cable is faulty
4. ...

The best bet to start is to
open a terminal and send us the output of
$ ifconfig -a
 
Old 05-13-2009, 06:30 AM   #3
dragonbeast25
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Output For: IfConfig -a
eth0 Link encap:Ethernet HWaddr 00:11:09:1a:e5:cc
inet6 addr: fe80::211:9ff:fe1a:e5cc/64 Scope:Link
UP BROADCAST RUNNING 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)
Interrupt:23 Base address:0xc800

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: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)

pan0 Link encap:Ethernet HWaddr d6:93:f3:ad:c5:31
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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B

Output For: sudo lshw -C network

*-network
description: Ethernet interface
product: RTL-8139/8139C/8139C+
vendor: Realtek Semiconductor Co., Ltd.
physical id: c
bus info: pci@0000:01:0c.0
logical name: eth0
version: 10
serial: 00:11:09:1a:e5:cc
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full latency=32 link=yes maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=100MB/s
*-network DISABLED
description: Ethernet interface
physical id: 1
logical name: pan0
serial: d6:93:f3:ad:c5:31
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
 
Old 05-13-2009, 06:45 AM   #4
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
Quote:

eth0 Link encap:Ethernet HWaddr 00:11:09:1a:e5:cc
inet6 addr: fe80::211:9ff:fe1a:e5cc/64 Scope:Link
UP BROADCAST RUNNING 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)
Interrupt:23 Base address:0xc800
looks like there is no IP address assigned.

can you do a manual up of the interface

as root:

# ifconfig eth0 up

this must bring the connection LED to glow on the router. If not then there is some cable issue I think.

next try to get the IP

# dhclient eth0

this must get you the IP if the step 1 looks successful.
 
Old 05-13-2009, 07:01 AM   #5
dragonbeast25
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bhaslinux View Post
looks like there is no IP address assigned.

can you do a manual up of the interface

as root:

# ifconfig eth0 up

this must bring the connection LED to glow on the router. If not then there is some cable issue I think.

next try to get the IP

# dhclient eth0

this must get you the IP if the step 1 looks successful.


ubuntu@ubuntu:~$ ifconfig eth0 up
SIOCSIFFLAGS: Permission denied
ubuntu@ubuntu:~$ dhclient eth0
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

can't create /var/lib/dhcp3/dhclient.leases: Permission denied
SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFFLAGS: Permission denied
Open a socket for LPF: Operation not permitted

I did not have permission?? So it wouldnt work, BTW im on ubuntu 9.04
 
Old 05-13-2009, 08:05 AM   #6
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
sorry i was not clear enough.
The commands need root access
you must he typing


$ sudo ifconfig eth0 up
and
$ sudo dhclient eth0

this will ask for password and give your account password you use to login to the machine.
 
Old 05-13-2009, 09:36 AM   #7
dragonbeast25
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bhaslinux View Post
sorry i was not clear enough.
The commands need root access
you must he typing


$ sudo ifconfig eth0 up
and
$ sudo dhclient eth0

this will ask for password and give your account password you use to login to the machine.
So i type $ sudo ifconfig eth0 up esacly? then the LED light should show up? Im running live cd they;re for i got no password?
 
Old 05-13-2009, 01:22 PM   #8
dragonbeast25
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Says Bash: $ : command not found.
 
Old 05-13-2009, 01:31 PM   #9
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
can you post the results of an lspci.

also dmesg | grep ether mite be useful
 
Old 05-13-2009, 03:50 PM   #10
dragonbeast25
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
sudo lspci


[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Transmeta GenuineTMx86
[ 0.000000] Transmeta TransmetaCPU
[ 0.000000] Kernel command line: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz quiet splash --
[ 0.000000] Detected 1800.021 MHz processor.
[ 0.181371] ExtINT not setup in hardware but reported by MP table
[ 0.329328] net_namespace: 776 bytes
[ 0.360668] ACPI: Interpreter disabled.
[ 0.362011] * The chipset may have PM-Timer Bug. Due to workarounds for a bug,
[ 0.362066] HPET not enabled in BIOS. You might try hpet=force boot option
[ 0.363369] Bluetooth: Core ver 2.13
[ 0.363369] Bluetooth: HCI device and connection manager initialized
[ 0.363369] Bluetooth: HCI socket layer initialized
[ 0.363369] NetLabel: Initializing
[ 0.363369] NetLabel: domain hash size = 128
[ 0.363369] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.363369] NetLabel: unlabeled traffic allowed by default
[ 0.364834] pci 0000:00:1e.0: setting latency timer to 64
[ 1.358871] cpufreq: No nForce2 chipset.
[ 1.359161] audit: initializing netlink socket (disabled)
[ 1.372842] msgmni has been set to 1718
[ 1.732555] Driver 'sd' needs updating - please use bus_type methods
[ 1.732573] Driver 'sr' needs updating - please use bus_type methods
[ 1.732804] ata_piix 0000:00:1f.1: setting latency timer to 64
[ 2.198211] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 2.216250] hub 1-0:1.0: 6 ports detected
[ 2.216536] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 2.216831] hub 2-0:1.0: 2 ports detected
[ 2.216981] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[ 2.217271] hub 3-0:1.0: 2 ports detected
[ 2.217402] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 2.217715] hub 4-0:1.0: 2 ports detected
[ 2.219671] EISA: Detected 0 cards.
[ 2.221873] Bluetooth: L2CAP ver 2.11
[ 2.221877] Bluetooth: L2CAP socket layer initialized
[ 2.221882] Bluetooth: SCO (Voice Link) ver 0.6
[ 2.221886] Bluetooth: SCO socket layer initialized
[ 2.221943] Bluetooth: RFCOMM socket layer initialized
[ 2.221957] Bluetooth: RFCOMM TTY layer initialized
[ 2.221960] Bluetooth: RFCOMM ver 1.10
[ 2.222408] rtc_cmos 00:03: setting system clock to 2009-05-13 15:27:21 UTC (1242228441)
[ 2.262676] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 3.069050] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 3.081770] 8139too Fast Ethernet driver 0.9.28
[ 3.083212] eth0: RealTek RTL8139 at 0xc800, 00:11:09:1a:e5:cc, IRQ 23
[ 3.083216] eth0: Identified 8139 chip type 'RTL-8101'
[ 3.477111] usb-storage: waiting for device to settle before scanning
[ 5.305446] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 8.477631] usb-storage: device scan complete
[ 66.217957] agpgart-intel 0000:00:00.0: Intel 830M Chipset
[ 66.218396] agpgart-intel 0000:00:00.0: detected 8060K stolen memory
[ 66.435507] intel_rng: FWH not detected
[ 68.098665] Intel ICH 0000:00:1f.5: setting latency timer to 64
[ 81.577479] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 81.577485] Bluetooth: BNEP filters: protocol multicast
[ 89.246052] pci 0000:00:02.0: setting latency timer to 64
[ 89.259423] [drm:i915_setparam] *ERROR* unknown parameter 4
[ 89.259475] [drm:i915_getparam] *ERROR* Unknown parameter 6
[ 89.727048] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 90.533889] [drm:i915_getparam] *ERROR* Unknown parameter 6
[ 100.654861] eth0: no IPv6 routers present
[ 101.842916] WARNING: at /build/buildd/linux-2.6.28/net/sched/sch_generic.c:226 dev_watchdog+0x219/0x230()
[ 101.842920] NETDEV WATCHDOG: eth0 (8139too): transmit timed out
[ 101.843046] [<c04312f2>] ? netdev_drivername+0x32/0x40
[ 101.843059] [<c01568f3>] ? getnstimeofday+0x53/0x110
[ 104.842990] eth0: Transmit timeout, status 0d 0000 c07f media 10.
[ 104.842998] eth0: Tx queue start entry 4 dirty entry 0.
[ 104.843003] eth0: Tx descriptor 0 is 0008205a. (queue head)
[ 104.843007] eth0: Tx descriptor 1 is 0008204e.
[ 104.843011] eth0: Tx descriptor 2 is 00082046.
[ 104.843015] eth0: Tx descriptor 3 is 00082156.
[ 104.843037] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 116.843725] eth0: Transmit timeout, status 0d 0000 c07f media 10.
[ 116.843734] eth0: Tx queue start entry 4 dirty entry 0.
[ 116.843740] eth0: Tx descriptor 0 is 00082156. (queue head)
[ 116.843745] eth0: Tx descriptor 1 is 0008205a.
[ 116.843749] eth0: Tx descriptor 2 is 00082046.
[ 116.843753] eth0: Tx descriptor 3 is 00082046.
[ 116.843775] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 170.844875] eth0: Transmit timeout, status 0d 0000 c07f media 10.
[ 170.844882] eth0: Tx queue start entry 4 dirty entry 0.
[ 170.844887] eth0: Tx descriptor 0 is 00082156. (queue head)
[ 170.844892] eth0: Tx descriptor 1 is 00082156.
[ 170.844896] eth0: Tx descriptor 2 is 00082156.
[ 170.844900] eth0: Tx descriptor 3 is 00082156.
[ 170.844922] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1



00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
01:0b.0 Communication controller: Agere Systems V.92 56K WinModem (rev 03)
01:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
 
Old 05-13-2009, 05:13 PM   #11
dragonbeast25
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Please Anyone???
 
Old 05-13-2009, 09:36 PM   #12
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
not sure. what is the result of ifconfig and ifconfig -a
 
Old 05-13-2009, 09:41 PM   #13
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by dragonbeast25 View Post
Ok Im running windows xp professional right now, i boot Live Cd Ubuntu 9.04 on my laptop Plug the LAN ethernet cord from my router to my laptop ethernet port on laptop, when it boots in it automaticly connects on my laptop and my modem glows up on that port(Meaning it found a computer)..

On my PC (Running now) i do same thing but in this case the router does not glow in live cd, only in windows xp And my ethernet cord is pluged in same place everything but sounds like my ethernet port is not sending power when running live cd.

P.S my Laptop has xp aswell.
not sure if i am reading this correctly but when you connect a different physical ethernet card to an internet receiver (read dsl/ cable modem) you have to unplug both devices so that the hwaddress stored on the internet receiver can be reset.

Last edited by schneidz; 05-14-2009 at 09:05 AM.
 
Old 05-14-2009, 05:52 AM   #14
dragonbeast25
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Solved went to device manager windows xp and my network card then wake on lan when shutdown
 
Old 05-14-2009, 09:06 AM   #15
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
^ huh. i'm not sure how the resolution solved the problem but glad to hear you got your internet working.
 
  


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
my internet works on one os and not the other elricofstorm Linux - Newbie 14 10-11-2007 06:58 AM
cant get on the internet I got it hooked up and the internet works Lord Hakk Linux - Newbie 54 03-24-2006 02:12 PM
wireless works but no internet..help!! raul180 Linux - Wireless Networking 0 07-28-2004 01:57 AM
internet works, but... rahmed Linux - Wireless Networking 2 07-14-2004 10:32 AM
Internet works until Solance Linux - Networking 2 04-17-2004 07:13 AM

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

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