LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-24-2006, 10:10 AM   #1
Xeroking
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
DSL connection just not working with 10.2 Slackware...


I have no idea what to do to be honest... I have tried and tried, and Im near ready to give up. Can any one give me a walk through, or walk me through setting up an internet connection with Slackware 10.2
 
Old 06-24-2006, 10:14 AM   #2
multios
Member
 
Registered: Mar 2006
Location: Homer, Alaska USA
Distribution: OpenBSD, FreeBSD, Slackware64-current
Posts: 276

Rep: Reputation: 58
have you run netconfig?
 
Old 06-24-2006, 10:23 AM   #3
Xeroking
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Yes I have, and I put in the neccesary info.. I make up the Host name and the computer name, then I set up Dhcp and I don't have to input anymore data...
 
Old 06-24-2006, 11:02 AM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
What hardware are you using?
Is it using a USB or Ethernet connection from modem to computer?
Or is there a router between the computer and modem?

Brian1
 
Old 06-24-2006, 11:53 AM   #5
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
And, does your ISP require PPoE? Check what your ISP requires, too.

Plus, can you post the results of both:
Code:
lspci
lsmod
That will give us an idea if the hardware is working or not (first step) then software (2nd step)

Last edited by cwwilson721; 06-24-2006 at 11:54 AM.
 
Old 06-24-2006, 12:12 PM   #6
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Can you post the output of these commands?
Code:
lspci
Code:
dmesg | grep eth
Code:
ifconfig -a
It would make us clear with nearly all the common facts about the problem.
 
Old 06-25-2006, 09:43 PM   #7
Xeroking
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Lscpi
Quote:
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 12)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 12)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 12)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 12)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio (rev 12)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF
02:07.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
02:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
dmesg | grep eth
Quote:
eth1: Lite-On 82c168 PNIC rev 32 at 0xdc00, 00:A0:CC2B:59, IRQ 11.
ifconfig -a
Quote:
eth0 Link encap:Ethernet HWaddr 00:06:5B:53:43:30
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:5
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2420 (2.3 Kb)
Interrupt:11 Base address:0xd880

eth1 Link encap:Ethernet HWaddr 00:A0:CC2B:59
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:11 Base address:0xdc00

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:1196 (1.1 Kb) TX bytes:1196 (1.1 Kb)
Thats the out put for each of the things u asked...

Last edited by Xeroking; 06-25-2006 at 09:45 PM.
 
Old 06-26-2006, 03:54 AM   #8
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Alright, you have got 2 nic cards and as per the output of the ifconfig command, we see that both of them have their drivers installed. I expect to see eth0 too in the dmesg command too. Anyway, let's proceed.

I am assuming that you get your ipaddress from you internet service provider through their dhcp server.
I am also assuming that your eth0 is connected to the dsl modem whereas eth1 is used to connect to your local area network.

First of all, we will configure /etc/rc.d/rc.inet1.conf. Look in this for a section similar to the code below and make the changes indicated in red color. The text in blue color are just hints from my side.

Code:
# Config information for eth0: Hint:Use ur real ipadd/subnet
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for eth1: Hint:Use ur local ipadd/subnet
IPADDR[1]="192.168.0.1"
NETMASK[1]="255.255.255.0"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Default gateway IP address:
GATEWAY="eth0"

Now, we will edit your /etc/resolv.conf You might need to consult your isp to
get these values. Replace X.X.X.X with the ipaddresses of your dns servers
Code:
search yourispdomain.com # hint - your isp's domain
namserver X.X.X.X        # your primary dns server
namserver X.X.X.X        # your secondary dns server

Now, restart your network
Code:
/etc/rc.d/rc.inet1 restart
And there u r done.

now, if you wish to share this connection with other users on your local area network,
run these commands. Remember, these rules are lost on every boot. So, if u want the connection to be share automatically, add these lines to your /etc/rc.d/rc.local file
Code:
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
If you find any part of the above confusing, please feel free to ask.

Last edited by manishsingh4u; 06-26-2006 at 03:57 AM.
 
Old 06-26-2006, 09:57 AM   #9
Xeroking
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I have 2 nic cards, but im only using eth1, and thats input from a LAN connection with my router.

Also, when I input the
Code:
/etc/rc.d/rc.inet1.conf.
I get permision denied...
 
Old 06-26-2006, 12:30 PM   #10
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Quote:
Originally Posted by Xeroking
I have 2 nic cards, but im only using eth1, and thats input from a LAN connection with my router.
Then we need to configure only eth1 in /etc/rc.d/rc.inet1.conf

What is the local ipaddress of your router?
Do you want to use a static ipaddress for eth1 or through a dpcp server?
Quote:
Originally Posted by Xeroking
Also, when I input the
Code:
/etc/rc.d/rc.inet1.conf.
I get permision denied...
You need to edit this file by using a text editor like "kwrite" or something. And to edit this file, you must be logged in as root

Last edited by manishsingh4u; 06-26-2006 at 12:32 PM.
 
  


Reply



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
Slackware: Can't manage to get my Internet connection working matt_16 Linux - Newbie 3 11-06-2004 07:32 AM
Slackware 10, DSL internet not working, I have searched.... Virum Linux - Networking 11 07-29-2004 01:09 AM
help with dsl connection bosewicht Linux - Newbie 0 05-22-2004 06:05 PM
A little help with T-DSL Connection Gav Linux - Networking 3 01-05-2004 02:58 PM
Dsl Connection unique Linux - Networking 1 05-19-2002 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration