Author |
Message |
atfatf
|
Posted: Mon May 22, 2006 6:40 am |
|
Joined: Thu Apr 20, 2006 8:14 am
Posts: 14
|
Hi all -
Got my box built and software installed, but can't seem to get on the internet. I even wiped my drive and reran the knoppmyth installation with an ethernet cord plugged into the router, and still no luck getting the machine on the net.
I've tried some various commands with ifconfig, but I'm still pretty new to linux, so I didn't get anywhere with that either.
Any suggestions on how to get my machine to access the net?
I'm running R5B7. Here's the hardware I'm using:
ASUS P5WD2 Motherboard (with two on-board LAN ports)
Intel Pentium D 930 Processor
nVidia 7300 GS Video Card
pcHDTV 3000 PCI Capture Card
VGA Monitor
D-Link Wireless G Router
|
|
Top |
|
 |
Mephi
|
Posted: Mon May 22, 2006 7:01 am |
|
Joined: Sat Feb 26, 2005 9:05 am
Posts: 160
Location:
Ipswich, UK
|
ok, ifconfig should tell you the ip addresses of the ports, what are they?
Are you using DHCP? If so, have you set both the router and the Myth Box to use DHCP?
_________________ Mephi
-----------
R5.5
Opteron 2.Ghz
1Gb Ram, 200Gb Maxtor PATA
Avermedia 771 DVB-T
Hauppauge Nova-S2 (waiting to be installed)
MS MCE2 Remote
|
|
Top |
|
 |
atfatf
|
Posted: Mon May 22, 2006 5:05 pm |
|
Joined: Thu Apr 20, 2006 8:14 am
Posts: 14
|
I am using DHCP. Basically, I have several macs and pcs that use DHCP on the router. The linux machine is the only one that hasn't been connecting.
I don't know specifically how to get the linux machine to use DHCP. I tried netcardconfig, and that asks you if you want to use DHCP broadcast. This option was part of the original mythtv setup, and I tried it there too, even with my ethernet cable hooked up. I have tried selecting both yes and no on both LAN ports, and still no luck.
Here is the output of the ifconfig command:
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:61 errors:0 dropped:0 overruns:0 frame:0
T packets:61 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4438 (4.3 KiB) TX bytes:4438 (4.3 KiB)
This refers to the loopback addressing, of which I have only a little knowledge.
If I run ifconfig eth0 i get this:
eth0 Link encap: Ethernet HWaddr: 00:17:31:00:AA:9F
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
T 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)
Interrupt:23 Memory:ddcfc000-0
Any help greatly appreciated.
|
|
Top |
|
 |
mjl
|
Posted: Mon May 22, 2006 8:49 pm |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi,
Double check your ethernet settings in cmos, I believe I had to disable pxe and enable something in my box before it would talk to the card. A quick check is to simply throw in a seperate nic card for testing.
When you run netcardconfig, it should pop right back in a few seconds with an ok message if your router does dhcp.
Mike
|
|
Top |
|
 |
nickread
|
Posted: Mon May 22, 2006 9:01 pm |
|
Joined: Tue Nov 22, 2005 7:57 pm
Posts: 295
Location:
Auckland, New Zealand
|
atfatf, your ifconfig response indicates that eth0 is not running (its down). Either you disabled it or maybe you have a hardware/driver issue. What does Code: ifup eth0 do?
_________________ HP VL400 (PIII 866), Skystar2 2.6D, PVR350, Nvidia FX5200, 384MB, 200GB, KnoppMyth R5.5
|
|
Top |
|
 |
atfatf
|
Posted: Tue May 23, 2006 6:12 am |
|
Joined: Thu Apr 20, 2006 8:14 am
Posts: 14
|
mjl: what you said kinda goes over my head - could you simplify that?
As for the "ifup eth0" command, I'll try that one tonight.
Thanks guys
|
|
Top |
|
 |
mjl
|
Posted: Tue May 23, 2006 6:30 am |
|
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location:
Warwick, RI
|
Hi atfatf,
No problem and sorry about the confusion. When you power up your KM machine, go into setup and check the on board ethernet settings. It may be disabled or set for some "funky" mode. PXE is a form of boot mode that you are not using, may be try turning it off.
Once you have adjusted the settings to what you think they might be boot into KM and open an xterm (alt x) switch to root, $ su - so you have a # prompt. Enter netcardconfig and try dhcp on eth0. It should give you an ok when it is working and if you do ifconfig should show an eth0 with an address.
If not reboot and try different cmos settings for the ethernet. IF you have exhausted all settings, you could put in a third party card and try again. I am sure you will find a setting in cmos. I have been down this path
Check the basic things, cable plugged in, has a light to show connection, common sense things. If something doesn't work, try something else.
Mike
|
|
Top |
|
 |
atfatf
|
Posted: Tue May 23, 2006 3:33 pm |
|
Joined: Thu Apr 20, 2006 8:14 am
Posts: 14
|
After tying the ifup eth0 command, it returns:
ifup: interface eth0 already configured
Perhaps this is because I have fiddled with the ifconfig command on that interface?
|
|
Top |
|
 |
atfatf
|
Posted: Tue May 23, 2006 3:36 pm |
|
Joined: Thu Apr 20, 2006 8:14 am
Posts: 14
|
No wait. I am now on the net. Must have been something I did before, and needed a reboot to start working. Thanks to all you who replied to my posts.
Or perhaps the ifup command was all I needed. Anyway, I'm am soon to be downloading drivers, tv listings and the like.
Cheers!
|
|
Top |
|
 |