Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › No internet connection
New Posts  All Forums:Forum Nav:

No internet connection - Page 2

post #11 of 44
Thread Starter 
Quote:
Originally Posted by EntTheGod;13657748 
what does ifconfig eth0 give?

I believe it didnt give anything
post #12 of 44
I think you want to do:
Code:
ifconfig -a
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #13 of 44
Thread Starter 
Quote:
I think you want to do:

This is what I get:


$ ifconfig -a
eth0 Link encap:Ethernet HWaddr e0:cb:4e:e4:96:0f
UP 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:77 Base address:0xe000

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:4576 (4.5 KB) TX bytes:4576 (4.5 KB)
post #14 of 44
Thread Starter 
Any Linux Gurus gonna help me out?
post #15 of 44
Thread Starter 
More info for the Linux Gods:


$ /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
ifup: failed to open statefile /var/run/network/ifstate: Permission denied
post #16 of 44
Quote:
Originally Posted by Chuckclc;13662193 
More info for the Linux Gods:


$ /etc/init.d/networking restart
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
ifup: failed to open statefile /var/run/network/ifstate: Permission denied

Needs to be run as root (with sudo).

Looks like your Ethernet interface was found OK, but wasn't coming up.

If that command works with sudo, you should be OK.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #17 of 44
Thread Starter 
Quote:
Originally Posted by error10;13662335 
Needs to be run as root (with sudo).

Looks like your Ethernet interface was found OK, but wasn't coming up.

If that command works with sudo, you should be OK.

Thanks, will try.
post #18 of 44
Thread Starter 
Well, got this:


sudo /etc/init.d/networking restart
[sudo] password for chuck:
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces... [ OK ]

Still says wired network disconnected though.
post #19 of 44
I spent like 3 hours on this earlier smile.gif

http://wiki.hetzner.de/index.php/Installation_of_r8168_network_driver
Follow the ubuntu steps. Since you don't have internet on that box download the source and put it on a flash drive.

Debian/Ubuntu

Getting the sources

cd /tmp
wget http://download.hetzner.de/drivers/r8168-8.019.00.tar.bz2
tar xjf r8168-8.019.00.tar.bz2
Compiling the driver

cd r8168-8.019.00
make all

Activating the new driver


After installing the driver, update the module dependencies.
depmod -a

First the r8169 network driver needs to be blacklisted in order to prevent the kernel from loading it. Note If additional NICs are installed in the server, the module must not be blacklisted.

Ubuntu:
echo "blacklist r8169" >> /etc/modprobe.d/blacklist.conf

Then we force the kernel to include the driver in the initrd. This also ensures, that the new r8168 module is loaded before the r8169 module.
echo "r8168" >> /etc/initramfs-tools/modules
And rebuild the initrd
update-initramfs -v -u -k `uname -r`
Now you can reboot to activate the driver.
After a kernel update the driver might need to be recompiled.
Edited by SS_Patrick - 5/27/11 at 11:58pm
    
CPUMotherboardGraphicsGraphics
i7 2600k Gigabyte P67-UD4-B3 GTX 580 GTX 580 
RAMHard DriveOSMonitor
Who cares? Intel SSD  Windows 7 Dell u3011 
MonitorPowerCaseMouse
Dell u3011 Seasonic x1200 800D G700 
AudioAudio
Xonar STX Beyerdynamic DT 990 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
i7 2600k Gigabyte P67-UD4-B3 GTX 580 GTX 580 
RAMHard DriveOSMonitor
Who cares? Intel SSD  Windows 7 Dell u3011 
MonitorPowerCaseMouse
Dell u3011 Seasonic x1200 800D G700 
AudioAudio
Xonar STX Beyerdynamic DT 990 
  hide details  
Reply
post #20 of 44
Thread Starter 
Quote:
Originally Posted by SS_Patrick;13663591 
http://wiki.hetzner.de/index.php/Installation_of_r8168_network_driver
Follow the ubuntu steps. Since you don't have internet on that box download the source and put it on a flash drive.

Debian/Ubuntu

Getting the sources

cd /tmp
wget http://download.hetzner.de/drivers/r8168-8.019.00.tar.bz2
tar xjf r8168-8.019.00.tar.bz2
Compiling the driver

cd r8168-8.019.00
make all
Activating the new driver


After installing the driver, update the module dependencies.
depmod -a

First the r8169 network driver needs to be blacklisted in order to prevent the kernel from loading it. Note If additional NICs are installed in the server, the module must not be blacklisted.

Ubuntu:
echo "blacklist r8169" >> /etc/modprobe.d/blacklist.conf

Then we force the kernel to include the driver in the initrd. This also ensures, that the new r8168 module is loaded before the r8169 module.
echo "r8168" >> /etc/initramfs-tools/modules
And rebuild the initrd
update-initramfs -v -u -k `uname -r`
Now you can reboot to activate the driver.
After a kernel update the driver might need to be recompiled.

Forgive me I am a half wit when it comes to linux stuff. So i need to follow steps 1-3.4.2 on that link you gave? Do I need to download something and put on a flash drive? Which i do not have but i am assuming a DVD will work. Actually they are on same computer so i can download the file to my shared drive.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › No internet connection