SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I have used Linux for a number of years. I started with Red Hat 9 and went up through Fedora. I recently decided to try Slackware. I installed Slackware 10.2 on a seperate partition and everything installed fine. However I can't get my network to see anything beyond itself. The connection works fine on Fedora.
I have a SBC DSL connection. I am connected via ethernet to a SpeedStream 4100 DSL Modem. The modem says it is configured with PPP on the modem. I tried netconfig and nothing. I manually configured /etc/rc.d/rc.inet1.conf to show only DHCP="yes". I configured it with a static IP address. I set it to 192.168.0.2 on one attempt and 192.168.0.10 on another. My modems IP address is 192.168.0.1. I can ping the loopback, 127.0.0.1 and I can ping the static IP when set, but I can't even ping the modem. Not even when I set the GATEWAY="192.168.0.1"
I can't find any netmask information. The modem information page doesn't seem to provide it and on Slackware, it can't get that information, I think, until it connects to a DHCP server. When I set the static IP the mask was 255.255.255.0.
Here is the Ethernet section of /usr/src/linux-2.4.31/.config:
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_SUNLANCE is not set
CONFIG_HAPPYMEAL=m
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
CONFIG_SUNGEM=m
CONFIG_NET_VENDOR_3COM=y
CONFIG_EL1=m
CONFIG_EL2=m
CONFIG_ELPLUS=m
CONFIG_EL16=m
CONFIG_EL3=m
CONFIG_3C515=m
# CONFIG_ELMC is not set
# CONFIG_ELMC_II is not set
CONFIG_VORTEX=m
CONFIG_TYPHOON=m
CONFIG_LANCE=m
CONFIG_NET_VENDOR_SMC=y
CONFIG_WD80x3=m
# CONFIG_ULTRAMCA is not set
CONFIG_ULTRA=m
# CONFIG_ULTRA32 is not set
CONFIG_SMC9194=m
CONFIG_NET_VENDOR_RACAL=y
CONFIG_NI5010=m
CONFIG_NI52=m
CONFIG_NI65=m
CONFIG_AT1700=m
CONFIG_DEPCA=m
CONFIG_HP100=m
CONFIG_NET_ISA=y
CONFIG_E2100=m
CONFIG_EWRK3=m
CONFIG_EEXPRESS=m
CONFIG_EEXPRESS_PRO=m
CONFIG_HPLAN_PLUS=m
CONFIG_HPLAN=m
CONFIG_LP486E=m
CONFIG_ETH16I=m
CONFIG_NE2000=m
CONFIG_NET_PCI=y
CONFIG_PCNET32=m
CONFIG_AMD8111_ETH=m
CONFIG_ADAPTEC_STARFIRE=m
CONFIG_AC3200=m
CONFIG_APRICOT=m
CONFIG_B44=m
CONFIG_CS89x0=m
CONFIG_TULIP=m
# CONFIG_TULIP_MWI is not set
# CONFIG_TULIP_MMIO is not set
CONFIG_DE4X5=m
CONFIG_DGRS=m
CONFIG_DM9102=m
CONFIG_EEPRO100=m
# CONFIG_EEPRO100_PIO is not set
CONFIG_E100=m
# CONFIG_LNE390 is not set
CONFIG_FEALNX=m
CONFIG_NATSEMI=m
CONFIG_NE2K_PCI=m
CONFIG_FORCEDETH=m
# CONFIG_NE3210 is not set
# CONFIG_ES3210 is not set
CONFIG_8139CP=m
CONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
CONFIG_8139TOO_TUNE_TWISTER=y
CONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not set
CONFIG_SIS900=m
CONFIG_EPIC100=m
CONFIG_SUNDANCE=m
# CONFIG_SUNDANCE_MMIO is not set
CONFIG_TLAN=m
CONFIG_VIA_RHINE=m
# CONFIG_VIA_RHINE_MMIO is not set
CONFIG_WINBOND_840=m
CONFIG_NET_POCKET=y
CONFIG_ATP=m
CONFIG_DE600=m
CONFIG_DE620=m
#
# Ethernet (1000 Mbit)
#
CONFIG_ACENIC=m
# CONFIG_ACENIC_OMIT_TIGON_I is not set
CONFIG_DL2K=m
CONFIG_E1000=m
# CONFIG_E1000_NAPI is not set
# CONFIG_MYRI_SBUS is not set
CONFIG_NS83820=m
CONFIG_HAMACHI=m
CONFIG_YELLOWFIN=m
CONFIG_R8169=m
CONFIG_SK98LIN=m
CONFIG_TIGON3=m
CONFIG_FDDI=y
CONFIG_DEFXX=m
CONFIG_SKFP=m
# CONFIG_HIPPI is not set
CONFIG_PLIP=m
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPPOE=m
CONFIG_SLIP=m
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_SMART=y
# CONFIG_SLIP_MODE_SLIP6 is not set
I have used Linux for a number of years. I started with Red Hat 9 and went up through Fedora. I recently decided to try Slackware. I installed Slackware 10.2 on a seperate partition and everything installed fine. However I can't get my network to see anything beyond itself. The connection works fine on Fedora.
I have a SBC DSL connection. I am connected via ethernet to a SpeedStream 4100 DSL Modem. The modem says it is configured with PPP on the modem. I tried netconfig and nothing. I manually configured /etc/rc.d/rc.inet1.conf to show only DHCP="yes". I configured it with a static IP address. I set it to 192.168.0.2 on one attempt and 192.168.0.10 on another. My modems IP address is 192.168.0.1. I can ping the loopback, 127.0.0.1 and I can ping the static IP when set, but I can't even ping the modem. Not even when I set the GATEWAY="192.168.0.1"
Any suggestions. I have run out of ideas.
Hi,
What is the output of;
Code:
#dmesg |grep eth
#ifconfig -a
#route -n #edit 04-06-06
ifconfig eth0 up
does bring eth0 up, but it doesn't have an ip address.
dhcpcd eth0 seems to work (i.e. no errors) but after a minute it is done and still no ip address. I think it is timing out.
I looked and I think the netmask is 255.255.255.0
that is what it is set to in Fedora which has a working network connection.
Perhaps I need to edit a config file.
I have edited /etc/rc.d/rc.inet1.conf and entered
USE_DHCP[0]="yes"
and
GATEWAY="192.168.0.1"
ifconfig eth0 up
does bring eth0 up, but it doesn't have an ip address.
dhcpcd eth0 seems to work (i.e. no errors) but after a minute it is done and still no ip address. I think it is timing out.
I looked and I think the netmask is 255.255.255.0
that is what it is set to in Fedora which has a working network connection.
Perhaps I need to edit a config file.
I have edited /etc/rc.d/rc.inet1.conf and entered
USE_DHCP[0]="yes"
and
GATEWAY="192.168.0.1"
Hi,
Might I suggest that you try a static IP setup first.
edit: edit the /etc/rc.d/init1.conf and disable dhcp=no for now
Code:
#ifconfig eth0 192.168.0.10 #setup IP
#route add default gw 192.168.0.1 #gateway
#ping 192.168.0.1 #ping gw
#ping google.com #ping to test dns
#ping 64.233.187.99 #ping ip
note: if the ping google.com fails then the dns is not setup properly. Edit /etc/resolv.conf to show your dns.
You could edit the /etc/rc.d/rc.init1.conf to reflect the static information and then just do ;
Code:
#/etc/rc.d/rc.inet1 restart
If you get the static to work then you can go back and setup for dhcp.
BTW, is your router setup with WEP and MAC filtering? If so then disable the functions until you get the link setup. After that you can enable WEP and Mac filtering.
I set up the static IP and gateway. But no connection. I don't understand. There is a physical connection and I configure it to be on the same local LAN, but it will not ping at all.
I don't have a router. It is a DSL Modem, SpeedStream 4100. It is configured with PPPoE on the modem. The connection works fine with Windows XP (at least it did when I used to have Windows) and Fedora. So it does work, but not under Slackware so far.
The first issue that needs to be addressed is just basic connectivity between my NIC, a Netgear FA311/FA312 and the DSL Modem. Until I can ping the modem (IP 192.168.0.1, netmask 255.255.0.0), the issue of trying to reach a DHCP server seems moot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.