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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-23-2003, 09:58 PM
|
#1
|
Member
Registered: Mar 2003
Posts: 76
Rep:
|
8139too problems
hey guys, just compiled the 2.4.21 kernel on my debian 3.0 with the 8139too driver for my realtek card. the card installs correctly and is detected, for dmesg i have (pertaining to ethernet)
8139too Fast Ethernet driver 0.9.26
eth0: SMC1211TX EZCard 10/100 (RealTek RTL8139) at 0xd1446000, 00:10:b5:9d:fd:cd, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139B'
agpgart: AGP aperture is 64M @ 0xe0000000
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.
and in lsmod i have
vfat 9308 1 (autoclean)
fat 29272 0 (autoclean) [vfat]
agpgart 12352 0 (unused)
es1371 26720 0
ac97_codec 10720 0 [es1371]
8139too 15360 1
mii 2384 0 [8139too]
lastly for ifconfig i have
eth0 Link encap:Ethernet HWaddr 00:10:B5:9D:FD:CD
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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1088 (1.0 KiB) TX bytes:1088 (1.0 KiB)
no ip.........
i put in /etc/modules.conf alias eth0 8139too and have also tried ifconfig eth0 up, which returns nothing, no errors or such. anyone have any ideas or any similar problems.........
thanks in advance.
|
|
|
06-25-2003, 12:51 AM
|
#2
|
Member
Registered: Mar 2003
Posts: 76
Original Poster
Rep:
|
anyone....... ideas........ no? =(
|
|
|
06-25-2003, 01:12 AM
|
#3
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
What does lsmod give?
|
|
|
06-25-2003, 07:55 AM
|
#4
|
Member
Registered: Mar 2003
Posts: 76
Original Poster
Rep:
|
it's listed up there.......
vfat 9308 1 (autoclean)
fat 29272 0 (autoclean) [vfat]
agpgart 12352 0 (unused)
es1371 26720 0
ac97_codec 10720 0 [es1371]
8139too 15360 1
mii 2384 0 [8139too]
i also tried af_packet as a module, and added alias net-pf-17 af_packet to /etc/modules.conf..... no help. any ideas? ive never been able to get the 8139too driver to work it's driving me nuts
|
|
|
06-25-2003, 08:29 AM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,757
|
Doesn't appear to be any problems and your module is working.
To assign an IP address:
ifconfig eth0 192.168.0.100 netmask 255.255.255.0 up
|
|
|
06-25-2003, 06:00 PM
|
#6
|
Member
Registered: Mar 2003
Posts: 76
Original Poster
Rep:
|
hey that's cool i didn't kno u could do that. but still, this is wut my ifconfig looks like currently, with the 2.2.20 kernel and the rtl8139 driver
eth0 Link encap:Ethernet HWaddr 00:10:B5:9D:FD:CD
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:290 errors:0 dropped:0 overruns:0 frame:0
TX packets:236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:258613 (252.5 KiB) TX bytes:38979 (38.0 KiB)
Interrupt:11 Base address:0xc400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1088 (1.0 KiB) TX bytes:1088 (1.0 KiB)
with the 2.4.21 kernel and the 8139too driver, after setting the ip using ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up i have
eth0 Link encap:Ethernet HWaddr 00:10:B5:9D:FD:CD
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x7000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1088 (1.0 KiB) TX bytes:1088 (1.0 KiB)
however, i cannot ping or access any websites..... any more ideas? thanks for the help thus far
Last edited by eltongeoff; 06-25-2003 at 06:04 PM.
|
|
|
06-26-2003, 01:16 AM
|
#7
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
You need to have a routing table set up as well. The default routing table usually works;
Code:
/sbin/route add default gw ${GATEWAY}
Where ${GATEWAY} is the IP address of your gateway machine.
|
|
|
06-26-2003, 01:33 AM
|
#8
|
Member
Registered: Jun 2003
Location: Virginia
Distribution: Redhat, Centos, Fedora
Posts: 37
Rep:
|
ifconfig $IFACE $IPNUM broadcast $BCAST netmask $NMASK
route add -net default gw $GTWAY netmask 0.0.0.0 metric 1 $IFACE
That's generally what I use.
|
|
|
06-26-2003, 11:02 PM
|
#9
|
Member
Registered: Mar 2003
Posts: 76
Original Poster
Rep:
|
hey that works, thanks for all the help guys. one last question, how do i set this to b permanent? can i just add it to the end of my /etc/inetd.conf file? thanks
|
|
|
06-27-2003, 10:41 AM
|
#10
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
No. inetd.conf is very different.
I'm not entirely sure where, in Debian, the setup scripts are, but they are likely to be in /etc/init.d, /etc/rc#.d, or /etc/sysconf.d. There should be a network startup script somewhere in there that you can edit.
|
|
|
06-27-2003, 12:08 PM
|
#11
|
Member
Registered: Mar 2003
Posts: 76
Original Poster
Rep:
|
yea wut i ended up doing was i made a script file with those 2 commands in it, then i put a link in rcS roght after networking that points to the script file, works fine. thanks for all the help guys.
|
|
|
All times are GMT -5. The time now is 04:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|