LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-11-2009, 02:31 AM   #1
jspringr
LQ Newbie
 
Registered: May 2009
Location: Stephenville, TX
Distribution: Lenny
Posts: 8

Rep: Reputation: 0
Lenny - cannot connect to Internet - DSL ethernet dhcp


I installed Lenny on my computer about a month ago. Everything works fine except I cannot connect to the Internet. I have an Internet account with Embarq. I have a DSL modem with ethernet and a dhcp connection. The computer is an HP Pavilion dv7 Notebook PC. When I am running Vista the internet connection is fine. The DSL ethernet connection required no configuration. When I reboot in Lenny the orange connection light goes out--no connection. I haven't worked with Lenny long enough to know where all the configuration files are. I installed and uninstalled dhcp3-server and installed-uninstalled-installed dhcp3-client. I spent about a week googling to try to find out what to do with no luck. There shouldn't be too much to configure but I am missing something.

So how do I get the Internet to work?




Here is the ifconfig in Lenny
eth0 Link encap:Ethernet HWaddr 00:23:5a:1f:c6:0e
inet addr:192.168.2.2 Bcast:192:168:2.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:9641288268 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:251

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:760 (760.0 B) TX bytes:760 (760.0 B)




Here is the ipconfig from Vista
C:\Documents and Settings\John>ipconfig

Windows IP Configuration


Ethernet adapter Wireless Network Connection:

Media State . . . . . . . . . . . : Media disconnected

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.2.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1

C:\Documents and Settings\John>




Here is a tracert to my Internet provider from Vista
C:\Documents and Settings\John>tracert 71.51.37.62

Tracing route to tx-71-51-37-62.dhcp.embarqhsd.net [71.51.37.62]
over a maximum of 30 hops:

1 1 ms <1 ms 1 ms tx-71-51-37-62.dhcp.embarqhsd.net [71.51.37.62]


Trace complete.





I will supply whatever other information is needed when I get a reply.


Thanks.
 
Old 05-11-2009, 04:30 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
Can you ping your dsl modem? Do you have dial for the internet? What are the dns settings in your windows? And do you have the same dns settings in debian? You could check it in /etc/resolv.conf file.
Do you have default gateway settings in your debian?
 
Old 05-11-2009, 04:33 AM   #3
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
can you tell us
1. What is the entries in /etc/resolv.conf
2. what is the routing table looking like (use 'route -n' command)
 
Old 05-11-2009, 04:39 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,977
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally Posted by jspringr View Post
Code:
eth0     Link encap:Ethernet  HWaddr 00:23:5a:1f:c6:0e
         inet addr:192.168.2.2  Bcast:192:168:2.255  Mask:255.255.255.0
         UP BROADCAST MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:9641288268 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:251
Does the bit in red seem odd to anyone?

There's obviously a lease in the right IP range
happening (I hope it's not to the local DHCP server -
if that's still installed - remove it).


I'd be looking at the logs on the DSL router to see
what it makes of your machine.

It's also not quite clear to me whether lenny and vista
are on the same hardware, and if they are, why they'd
be getting different IPs via a dhcp lease.


Cheers
Tink
 
Old 05-11-2009, 08:11 AM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Hmm would you get that dropped effect if the firmware wasn't loaded for the NIC ? Debian has been pulling a lot of firmware out of their kernel lately.

Could you post the output of lspci I'd like to see what network card is in your system, especially since you mentioned the light for it does not come on in Debian.

There are other NICs that windows disables on Shutdown, which you need to change a BIOs setting to prevent that from happening.. Either way we need to know the NIC in the Box.

Last edited by farslayer; 05-11-2009 at 08:13 AM.
 
Old 05-11-2009, 09:43 PM   #6
jspringr
LQ Newbie
 
Registered: May 2009
Location: Stephenville, TX
Distribution: Lenny
Posts: 8

Original Poster
Rep: Reputation: 0
Lenny - cannot connect to Internet - DSL ethernet dhcp

Thanks for your replies guys.

I cannot ping anything from Lenny except local addresses.

ping to my Internet provider: dhcp.embarqhsd.net
computer:/etc/network# ping 71.51.37.62
PING 71.51.37.62 (71.51.37.62) 56(84) bytes of data
From 192.168.2.2 icmp_seq=1 Destination Host Unreachable
From 192.168.2.2 icmp_seq=2 Destination Host Unreachable
From 192.168.2.2 icmp_seq=3 Destination Host Unreachable
^C
--- 71.51.37.62 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4016ms


ping to my local host
computer:/etc/network# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data
64 bytes from 127.0.0.1 icmp_seq=1 ttl=64 time=0.033 ms
64 bytes from 127.0.0.1 icmp_seq=2 ttl=64 time=0.012 ms
64 bytes from 127.0.0.1 icmp_seq=3 ttl=64 time=0.028 ms
64 bytes from 127.0.0.1 icmp_seq=4 ttl=64 time=0.027 ms
^C
--- 127.0.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms


The modem is a DSL modem for embarq. There is no dial up. I don't know how to check the dns settings in Vista or in Lenny. I do not have an /etc/resolve.conf file in Lenny.

The default gateway in Vista is 192.168.2.1.
In Lenny I have set that value at some point in time some way but I don't
know how to check it. Like I said, I don't really know what I am doing.
Something is obviously configured wrong.


Okay, here is the routing table.
computer:/etc# route -n
Kernal IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0


I removed the dhcp3-server, but I will do it again.
computer:/etc# apt-get remove dhcp3-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dhpc3-server is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

computer:/etc# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dhpc3-server is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Here is the result of lspci. That brings up another problem I am having right now. The Windows files are read-only so I can read and copy, but I can't write to the Windows partition. This is transcribed.

computer:/etc# lspci
00:00:0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
00:01:0 PCI bridge: Hewlet-Packard Company Device 9602
00:04:0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI Bridge (PCIE port 0)
00:05:0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI Bridge (PCIE port 1)
00:06:0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI Bridge (PCIE port 2)
00:07:0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI Bridge (PCIE port 3)
00:11:0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12:0 USB controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12:1 USB controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12:2 USB controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13:0 USB controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13:1 USB controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13:2 USB controller: ATI Technologies Inc SB700/SB800 USB ECHI Controller
00:14:0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14:1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14:2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14:3 ISA Bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14:4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18:0 Host bridge: Advanced Micro Devices [AMD] Family 11h HyperTransport Configuration (rev 40)
00:18:1 Host bridge: Advanced Micro Devices [AMD] Family 11h Address Map
00:18:2 Host bridge: Advanced Micro Devices [AMD] Family 11h DRAM Controller
00:18:3 Host bridge: Advanced Micro Devices [AMD] Family 11h Miscellaneous Control
00:18:4 Host bridge: Advanced Micro Devices [AMD] Family 11h Link Control
01:05:0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics]
01:05:1 Audio device: ATI Technologies Inc RS780 Azalia controller
08:00:0 System peripheral: JMicron Technologies, Inc. Device 2382
08:00:2 SD Host controller: JMicron Technologies, Inc. Device 2381
08:00:3 System peripheral: JMicron Technologies, Inc. Device 2383
08:00:4 System peripheral: JMicron Technologies, Inc. Device 2384
09:00:0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
0a:00:0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
computer:/etc#


Thanks,
jspringr
 
Old 05-11-2009, 10:59 PM   #7
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Quote:
0a:00:0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
rtl8101E I think you may need to compile the driver for that. Debian will have chosen the r8169 module which will not work properly and cause a high rx error rate.

Download here:
http://www.realtek.com.tw/Downloads/...etDown=false#2
or here:
ftp://WebUser:DAx7h9V@152.104.238.19...012.00.tar.bz2


http://h4ndr1.wordpress.com/2008/09/...net-controler/




Quote:
09:00:0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
and I know you have to compile a special driver for that atheros Wireless as well.. that is the same wireless that is in my netbook running Debian Lenny.
http://madwifi-project.org/ticket/1192



Looks like you have some work to do..

.
 
Old 05-12-2009, 02:42 PM   #8
jspringr
LQ Newbie
 
Registered: May 2009
Location: Stephenville, TX
Distribution: Lenny
Posts: 8

Original Poster
Rep: Reputation: 0
farslayer,

You are saying I need to uninstall 8169 and install 8101. I will have to figure out how to do that. I downloaded the file and I will work on it tinight. And also the wireless.

Thanks,
jspringr
 
Old 05-12-2009, 03:58 PM   #9
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Whwen you untar the 8101 file there should be a readme or install file inside it with directions on how to compile.

for Debian you can setup your compile environment easily with the following commands.


aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare


then follow the direction in the driver file you downloaded.
 
Old 05-14-2009, 01:52 AM   #10
jspringr
LQ Newbie
 
Registered: May 2009
Location: Stephenville, TX
Distribution: Lenny
Posts: 8

Original Poster
Rep: Reputation: 0
Lenny - cannot connect to Internet - DSL ethernet dhcp

farslayer,

Well, I am making progress. I finally got the orange light to come on for a little while, but when I rebooted it went off again. I never was able to connect to the Internet.
I got as far as
computer:/etc# route add default gw 192.168.2.1.
What have I failed to do? Here is a listing of everything I did.

Thanks,
jspringr









Here is what you gave me to do with instructions to unzip the tar file with instructions to follow the readme file.
aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare


computer:/home/john# aptitude update
Writing extended state information... Done
Ign cdrom://[Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 CD Binary-31 20090413-02:50] lenny Release.gpg
Ign cdrom://[Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 CD Binary-31 20090413-02:50] lenny/contrib Translation-en_US
etc..
etc..
97% [Connecting to security.debian.org] [Connecting to volatile.debian.org]^C
This does nothing because I am not connected to the Internet.


computer:/home/john# aptitude install build-essential module-assistant
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be installed:
module-assistant
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/103kB of archives. After unpacking 524kB will be used.
Writing extended state information... Done
Media Change: Please insert the disc labeled 'Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 CD Binary-1 20090413-02:50' in the drive '/cdrom/' and press [Enter].

Selecting previously deselected package module-assistant.
(Reading database ... 116452 files and directories currently installed.)
Unpacking module-assistant (from .../module-assistant_0.10.11.0_all.deb) ...
Processing triggers for man-db ...
Setting up module-assistant (0.10.11.0) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done


computer:/home/john# m-a update
+---------------------Updating cached package data------------------------¬
zd1211-source | | |
+-------------------------------------------------------------------¬ |
| | 100% | |
|
L-------------------------------------------------------------------+ |
L-------------------------------------------------------------------------+
Updated infos about 85 packages


computer:/home/john# m-a prepare
Getting source for kernel version: 2.6.26-2-amd64
apt-get install linux-headers-2.6.26-2-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cpp-4.1 gcc-4.1 gcc-4.1-base linux-headers-2.6.26-2-common linux-kbuild-2.6.26
Suggested packages:
gcc-4.1-locales gcc-4.1-multilib gcc-4.1-doc libmudflap0-dev
The following NEW packages will be installed:
cpp-4.1 gcc-4.1 gcc-4.1-base linux-headers-2.6.26-2-amd64 linux-headers-2.6.26-2-common linux-kbuild-2.6.26
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/7568kB of archives.
After this operation, 41.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Media change: please insert the disc labeled
'Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 CD Binary-1 20090413-02:50'
in the drive '/cdrom/' and press enter

Selecting previously deselected package gcc-4.1-base.
(Reading database ... 116505 files and directories currently installed.)
Unpacking gcc-4.1-base (from .../gcc-4.1-base_4.1.2-25_amd64.deb) ...
Selecting previously deselected package cpp-4.1.
Unpacking cpp-4.1 (from .../cpp-4.1_4.1.2-25_amd64.deb) ...
Selecting previously deselected package gcc-4.1.
Unpacking gcc-4.1 (from .../gcc-4.1_4.1.2-25_amd64.deb) ...
Selecting previously deselected package linux-headers-2.6.26-2-common.
Unpacking linux-headers-2.6.26-2-common (from .../linux-headers-2.6.26-2-common_2.6.26-15_amd64.deb) ...
Selecting previously deselected package linux-kbuild-2.6.26.
Unpacking linux-kbuild-2.6.26 (from .../linux-kbuild-2.6.26_2.6.26-3_amd64.deb) ...
Selecting previously deselected package linux-headers-2.6.26-2-amd64.
Unpacking linux-headers-2.6.26-2-amd64 (from .../linux-headers-2.6.26-2-amd64_2.6.26-15_amd64.deb) ...
Processing triggers for man-db ...
Setting up gcc-4.1-base (4.1.2-25) ...
Setting up cpp-4.1 (4.1.2-25) ...
Setting up gcc-4.1 (4.1.2-25) ...
Setting up linux-headers-2.6.26-2-common (2.6.26-15) ...
Setting up linux-kbuild-2.6.26 (2.6.26-3) ...
Setting up linux-headers-2.6.26-2-amd64 (2.6.26-15) ...
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
build-essential set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Done!





Now I extract the readme file.

computer:/home/john# cd /usr/src/r8101-1.012.00
computer:/usr/src/r8101-1.012.00# dir
total 44
drwxr-sr-x 3 root src 4096 2009-05-13 01:40 ./
drwxrwsr-x 3 root src 4096 2009-05-12 01:19 ../
drwxr-xr-x 3 root root 4096 2009-05-13 04:41 r8101-1.012.00/
-rwxr-xr-x 1 root src 32352 2009-05-12 01:19 r8101-1.012.00.tar.bz2*

computer:/usr/src/r8101-1.012.00# tar --verbose --extract --file r8101-1.012.00.tar.bz2
r8101-1.012.00/
r8101-1.012.00/src/
r8101-1.012.00/src/rtl_ethtool.h
r8101-1.012.00/src/rtl_eeprom.h
r8101-1.012.00/src/r8101_n.c
r8101-1.012.00/src/Makefile
r8101-1.012.00/src/rtl_eeprom.c
r8101-1.012.00/src/Makefile_linux24x
r8101-1.012.00/src/r8101.h
r8101-1.012.00/Makefile
r8101-1.012.00/readme

computer:/usr/src/r8101-1.012.00# cd r8101-1.012.00
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# dir
total 20
-rw-r--r-- 1 root root 1729 2009-05-13 05:34 Makefile
-rw-r--r-- 1 root root 4033 2009-05-13 05:34 readme
drw-r--r-- 2 root root 4096 2009-05-13 05:34 src/
drwxr-xr-x 3 root root 4096 2009-05-13 05:34 ./
drwxr-sr-x 3 root src 4096 2009-05-13 01:40 ../

At this point I read the readme file.






1)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# lsmod | grep r8169
r8169 31492 0

2)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# rmmod -v r8169
rmmod r8169, wait=no
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# rmmod -v r8169
ERROR: Module r8169 does not exist in /proc/modules



computer:/home/john# cd /usr/src/r8101-1.012.00
computer:/usr/src/r8101-1.012.00# dir
total 44
drwxr-sr-x 3 root src 4096 2009-05-13 01:40 ./
drwxrwsr-x 3 root src 4096 2009-05-12 01:19 ../
drwxr-xr-x 3 root root 4096 2009-05-13 04:41 r8101-1.012.00/
-rwxr-xr-x 1 root src 32352 2009-05-12 01:19 r8101-1.012.00.tar.bz2*

3)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# cd ..
computer:/usr/src/r8101-1.012.00# tar vjxf r8101-1.012.00.tar.bz2
r8101-1.012.00/
r8101-1.012.00/src/
r8101-1.012.00/src/rtl_ethtool.h
r8101-1.012.00/src/rtl_eeprom.h
r8101-1.012.00/src/r8101_n.c
r8101-1.012.00/src/Makefile
r8101-1.012.00/src/rtl_eeprom.c
r8101-1.012.00/src/Makefile_linux24x
r8101-1.012.00/src/r8101.h
r8101-1.012.00/Makefile
r8101-1.012.00/readme



computer:/usr/src/r8101-1.012.00# cd r8101-1.012.00
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# dir
total 20
-rw-r--r-- 1 root root 1729 2009-05-13 05:34 Makefile
-rw-r--r-- 1 root root 4033 2009-05-13 05:34 readme
drw-r--r-- 2 root root 4096 2009-05-13 05:34 src/
drwxr-xr-x 3 root root 4096 2009-05-13 05:34 ./
drwxr-sr-x 3 root src 4096 2009-05-13 01:40 ../

5)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# make clean modules
make -C src/ clean
make[1]: Entering directory `/usr/src/r8101-1.012.00/r8101-1.012.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers Module.markers *.order
make[1]: Leaving directory `/usr/src/r8101-1.012.00/r8101-1.012.00/src'
make -C src/ modules
make[1]: Entering directory `/usr/src/r8101-1.012.00/r8101-1.012.00/src'
make -C /lib/modules/2.6.26-2-amd64/build SUBDIRS=/usr/src/r8101-1.012.00/r8101-1.012.00/src modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.26-2-amd64'
CC [M] /usr/src/r8101-1.012.00/r8101-1.012.00/src/r8101_n.o
/usr/src/r8101-1.012.00/r8101-1.012.00/src/r8101_n.c:432: warning: ‘rtl8101_ephy_read’ defined but not used
CC [M] /usr/src/r8101-1.012.00/r8101-1.012.00/src/rtl_eeprom.o
LD [M] /usr/src/r8101-1.012.00/r8101-1.012.00/src/r8101.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/r8101-1.012.00/r8101-1.012.00/src/r8101.mod.o
LD [M] /usr/src/r8101-1.012.00/r8101-1.012.00/src/r8101.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.26-2-amd64'
strip --strip-debug r8101.ko
make[1]: Leaving directory `/usr/src/r8101-1.012.00/r8101-1.012.00/src'

6)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# make install
make -C src/ install
make[1]: Entering directory `/usr/src/r8101-1.012.00/r8101-1.012.00/src'
install -m 744 -c r8101.ko /lib/modules/2.6.26-2-amd64/kernel/drivers/net/
make[1]: Leaving directory `/usr/src/r8101-1.012.00/r8101-1.012.00/src'


7)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# depmod -a

8)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# modprobe r8101

9)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# lsmod | grep r8101
r8101 34832 0

10)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:23:5a:1f:c6:0e
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:19 Base address:0x2000

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:100 errors:0 dropped:0 overruns:0 frame:0
TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8851 (8.6 KiB) TX bytes:8851 (8.6 KiB)

wlan0 Link encap:Ethernet HWaddr 00:24:2b:4a:37:75
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)

wmaster0 Link encap:UNSPEC HWaddr 00-24-2B-4A-37-75-00-00-00-00-00-00-00-00-00-00
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)


computer:/usr/src/r8101-1.012.00/r8101-1.012.00# ping 71.51.35.194
connect: Network is unreachable


computer:/usr/src/r8101-1.012.00/r8101-1.012.00# tracert 71.51.35.194
connect: Network is unreachable


11)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:23:5a:1f:c6:0e
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:19 Base address:0x2000


12)
computer:/usr/src/r8101-1.012.00/r8101-1.012.00# ifconfig eth0 192.168.2.3



computer:/usr/src/r8101-1.012.00/r8101-1.012.00# cd /etc
computer:/etc# ls -l *.conf
-rw-r--r-- 1 root root 2986 2009-04-22 20:24 adduser.conf
-rw-r--r-- 1 root root 6282 2009-04-27 23:53 ca-certificates.conf
-rw-r--r-- 1 root root 2969 2008-10-12 12:07 debconf.conf
-rw-r--r-- 1 root root 600 2008-08-10 16:35 deluser.conf
-rw-r--r-- 1 root root 319 2009-05-09 18:38 dhcpd.conf
-rw-r----- 1 root fuse 216 2008-10-02 16:07 fuse.conf
-rw-r--r-- 1 root root 2689 2009-01-04 04:52 gai.conf
-rw-r--r-- 1 root root 899 2008-04-19 00:23 gssapi_mech.conf
-rw-r--r-- 1 root root 9 2006-08-07 12:14 host.conf
-rw-r--r-- 1 root root 145 2008-10-19 00:25 idmapd.conf
-rw-r--r-- 1 root root 1190 2009-05-01 01:12 inetd.conf
-rw-r--r-- 1 root root 240 2009-04-22 20:31 kernel-img.conf
-rw-r--r-- 1 root root 34 2009-04-22 20:24 ld.so.conf
-rw-r--r-- 1 root root 20 2008-02-09 13:53 libao.conf
-rw-r--r-- 1 root root 599 2008-10-08 10:51 logrotate.conf
-rw-r--r-- 1 root root 803 2008-10-12 22:53 mke2fs.conf
-rw-r--r-- 1 root root 2064 2006-11-23 13:33 netscsid.conf
-rw-r--r-- 1 root root 513 2009-05-04 01:58 nsswitch.conf
-rw-r--r-- 1 root root 552 2009-03-17 18:58 pam.conf
-rw-r--r-- 1 root root 2625 2008-11-02 05:24 reportbug.conf
-rw-r--r-- 1 root root 20 2009-04-22 20:24 resolv.conf
-rw-r--r-- 1 root root 2565 2009-02-07 18:34 rsyslog.conf
-rw-r--r-- 1 root root 23 2007-12-18 08:36 scrollkeeper.conf
-rw-r--r-- 1 root root 85602 2008-07-02 14:20 sensors.conf
-rw-r--r-- 1 root root 2275 2009-01-11 16:08 sysctl.conf
-rw-r--r-- 1 root root 645 2008-02-03 12:30 ts.conf
-rw-r--r-- 1 root root 1260 2008-05-30 01:22 ucf.conf
-rw-r--r-- 1 root root 142 2009-02-07 06:37 uniconf.conf
-rw-r--r-- 1 root root 248 2008-10-28 05:37 updatedb.conf
-rw-r--r-- 1 root root 314 2008-09-29 10:24 warnquota.conf
-rw-r--r-- 1 root root 1343 2007-01-09 12:39 wodim.conf
-rw-r----- 1 root dialout 66 2009-05-01 19:55 wvdial.conf

13)
computer:/etc# joe resolv.conf
Processing '/etc/joe/joerc'...Processing '/etc/joe/ftyperc'...done
done

^K I resolv.conf (Modified) Row 3 Col 1 6:06 Ctrl-K H for help
search springer.com
nameserver 192.168.2.1

File resolv.conf saved


14)
computer:/etc# route add default gw 192.168.2.1



15) ?????? NO SYSCONFIG EXIXTS
computer:/etc# cd sysconfig
bash: cd: sysconfig: No such file or directory
computer:/etc# dir
total 1340
 
Old 05-26-2009, 08:00 PM   #11
jspringr
LQ Newbie
 
Registered: May 2009
Location: Stephenville, TX
Distribution: Lenny
Posts: 8

Original Poster
Rep: Reputation: 0
Thumbs up

I got busy with something else and came back to this problem after about a week. I repeated everything in the previous post. This time it worked! I now have the Internet. I rebooted And I still have the Internet. It appears thet the problem is solved. Thanks farslayer. I never would have figured this out without somne help.

jspringr
 
Old 05-26-2009, 11:19 PM   #12
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Glad to hear you got it going...

Do you have Wireless working now as well ?
 
Old 05-27-2009, 11:53 PM   #13
jspringr
LQ Newbie
 
Registered: May 2009
Location: Stephenville, TX
Distribution: Lenny
Posts: 8

Original Poster
Rep: Reputation: 0
Lenny - cannot connect to the Internet - DSL ethernet dhcp

Oh, yes, I forgot the wireless. Also I have another annoying problem. Every time I roboot it reverts back to r8169 and it takes about 15 minutes to run all the script to get the Internet going again.

jspringr
 
Old 05-28-2009, 07:06 AM   #14
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
did you do the blacklist step for the r8169 module ?


http://h4ndr1.wordpress.com/2008/09/...net-controler/

Debian Kernel Module Blacklisting HOW-TO

Last edited by farslayer; 05-28-2009 at 06:58 PM.
 
Old 05-29-2009, 11:02 AM   #15
jspringr
LQ Newbie
 
Registered: May 2009
Location: Stephenville, TX
Distribution: Lenny
Posts: 8

Original Poster
Rep: Reputation: 0
Thumbs up Lenny - cannot connect to Internet - DSL ethernet dhcp

Thanks farslayer,

So here is what I did:

-- to prevent reversion to r8169
cd /etc/modprobe.d
joe r8169
-- add 'blacklist r8169'
-- ctrl k x
depmod -ae
update-initramfs -u

I rebooted and the Internet still works.

jspringr
 
  


Reply

Tags
dhcp, dsl, ethernet, lenny


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
Cant connect 2 DSL internet via ethernet card in Mandriva 2007 ushmal Linux - Networking 1 01-25-2008 01:37 AM
connect ethernet to DSL modem rockarolla Linux - Networking 2 06-09-2007 09:21 AM
Can't connect to the Internet (DSL). riverk Suse/Novell 7 03-12-2006 12:26 AM
Can't connect to the Internet (DSL). riverk Linux - Newbie 1 02-17-2006 05:33 PM
DSL Ethernet USB Combo Router + Internet Sharing kenny_zzz Linux - Networking 0 02-28-2004 03:05 AM


All times are GMT -5. The time now is 10:31 PM.

Main Menu
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