LinuxQuestions.org
Visit Jeremy's Blog.
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 01-15-2003, 04:17 PM   #1
Wesson
LQ Newbie
 
Registered: Jan 2003
Location: USA
Distribution: Mandrake 9.0
Posts: 2

Rep: Reputation: 0
Angry Problems gettin DSL setup


Hello, I am a total Linux newbie. I downloaded Mandrake 9.0 and installed the os fine, but when I log into KDE 3 as root, I run the linuxconf to setup my dsl connection and it will not work at all.

I have a static ip address, and I have been given my ip, subnet, dns, and gateway addresses, but it also asks for like hostname or domains, and I didn't get that information, so I am stuck, I can ping my gateway, but that is it, I can't ping the dns servers or anything past the gateway, so I was going to start the networking setup over again and we rreally appreciate anyone who can give me tips on how to get this DSL working

Thanks
 
Old 01-15-2003, 04:47 PM   #2
phoenix
LQ Newbie
 
Registered: Jan 2003
Location: PA
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
I had the same problem with my Red Hat 8.0 when we got DSL. I had my comp going through a switch to a router and then to the DSL modem. One of the RJ45's was connected to the uplink. I dont know why it didnt work that way but when I removed the one cable from the uplink and put it in one of the regular jacks it worked just fine without having to configure anything. (The router was already set up with the info from my ISP).

I hope this helps...
 
Old 01-15-2003, 04:55 PM   #3
Wesson
LQ Newbie
 
Registered: Jan 2003
Location: USA
Distribution: Mandrake 9.0
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks

Thanks for the reply, but unfortunatly, I have my phone line running directly into my Alcatel DSL modem/router, then from the modem into my nic on my computer, there is no switch or router....
 
Old 01-16-2003, 08:15 PM   #4
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
mine going through router to modem using dhcp
 
Old 01-17-2003, 11:41 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
I am a lazy one to go from step to step but here is the guide I pasted from speakeasy support page
Quote:
(in the examples below, the items marked (xx.xx.xxx) are specific to your configuration, please refer to your Network Information email sent to your Speakeasy address priot to your DSL installation.)

1. Get into text mode. either open an xterm or use ctrl-alt-f1 to go to a virtual console

2. Become root. either login as root or su
[enter password].

3. Run ifconfig eth0 ( should be /sbin/ifconfig ) to display ethernet adapters
This should list something like: eth0 Link encap:Ethernet HWaddrxx:xx:xx:xx:xx:xx:xx
inet addr: xxx.xxx.xxx.xxx Bcast: xxx.xxx.xxx.xxx Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:9 txqueuelen:100
Interrupt:15 Base address:0xa800

4. If eth0 shows up, goto step 8
if there is no eth0 listed the ethernet adapater was not detected.

5. Determine type of ethernet card. PCI ethernet cards are listed in /proc/pci
grep Ethernet /proc/pci

6. Find the kernel module for your ethernet card The most common drivers are
Ethernet controller: Module:
Intel 82557 eepro100
DEC DC2104* tulip
NE2000 and Compatible 8390 + ne2k-pci
Fast EtherLink 3c590/3c592/3c595/3c597,
EtherLink XL 3c900 and 3c905 3c59x
VIA VT86c100A Rhine-II PCI Fast Ethernet,
3043 Rhine-I via-rhine
lo (loopback,local,lo) loopback

7. insmod Module ( insmod should be /sbin/insmod )
The required module should be in /lib/modules/`uname -r`/net/
where `uname -r` is the kernel revision
( for ne2000 cards, first insmod 8390, then insmod ne2k-pci )

8. ifconfig eth0 xxx.xxx.xxx.xxx (replace xxx.xxx.xxx.xxx with your IP )
The gateway is usually the same as your IP number but with 1 as the last number,
ie. xxx.xxx.xxx.1
route add xxx.xxx.xxx.x eth0 (replace xxx.xxx.xxx.x with your gateway IP )
( route should be /sbin/route )
route add default gw xxx.xxx.xxx.x

9. Verify routes with
netstat -rn ( should be /bin/netstat )
Output:
Destination Gateway Genmask Flags MSS Window irtt Iface
xxx.xxx.xxx.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
xxx.xxx.xxx.1 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 xxx.xxx.xxx.1 0.0.0.0 UG 0 0 0 eth0

10. ping -c 5 xxx.xxx.xxx.1 (ping the gateway)
(should be /bin/ping)
Ping the name server address to verify internet connectivity

11. If the ping commands report
5 packets transmitted, 5 packets received, 0% packet loss
the interface is properly configured. put the insmod command from step 7
( if you had to load a module ) and the ifconfig and route commands from step 8 to the end of the file /etc/rc.d/rc.local

12. put up to 3 nameservers (as provided in your netwotrk information email) in /etc/resolv.conf
like:
nameserver yyy.yyy.yyy.yyy
nameserver zzz.zzz.zzz.zzz

13. Verify that the resolver is setup to use /etc/hosts and bind in /etc/host.conf
like:
order hosts,bind
multi on
 
  


Reply


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
Gettin really P***** off with Printer Problems ./usr/stevo Linux - Hardware 2 04-02-2005 02:15 PM
Gentoo DSL setup problems kaega2 Linux - Distributions 2 12-01-2004 09:11 AM
dsl setup flux Linux - Newbie 8 11-07-2004 12:26 PM
DSL setup DukeBlaze Linux - Networking 0 10-09-2002 09:20 AM
DSL Setup Golem Linux - Newbie 3 01-31-2002 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration