LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-27-2004, 05:23 PM   #1
lord_emperor
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
New ISP - router setup help


I've got an old comp running Slackware 9.0 and working as a router. Currently I've got a Cable connection and the router is setup for DHCP to get the IP address and everything.

However I've got a wireless connection coming, with static IP addresses and I recieved the following note from my new ISP:

"Your <provider> connection is 10 Mbps half-duplex (HDX). Please ensure your interface going to <provider> is hard-set to 10 Mbps half-duplex (HDX), as auto-sense is unreliable and may cause problems."

I think I've got the static IP part figured out, it was laid out nicely in the setup page on slackware's site, but how do I setup the network card for these settings?

Last edited by lord_emperor; 05-28-2004 at 03:39 AM.
 
Old 05-27-2004, 06:45 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
hi lord_emperor, welcome to lq. perhaps you'll find something useful here

http://www.ibiblio.org/pub/Linux/doc...net-HOWTO.html

hope that gets you pointed in the right direction.
good luck.
 
Old 05-28-2004, 03:13 AM   #3
lord_emperor
LQ Newbie
 
Registered: May 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for that.

But I have another problem now, I guess changing to the new static IP address isn't that easy after all. I had netconfig and put in the new info as best I could, but it made it into not a router. AFAIK this shoudl only have changed the rc.inet1 file correct?

At any rate I've managed to break its function as a router, can't even get the cable to work again or ping it over the network and I (stupidly I know) didn't back up all of the rc.inet1 file.

Anyway I'm obviously in way over my head if I've screwed this up. Can one of you post the functional part of the rc.inet1 file with the following settings:

Eth0 (internet), this is the info my ISP has sent me.

IP address: 207.54.101.201
Subnet Mask: 255.255.255.248
Default Gateway: 207.54.101.206
Primary DNS Server: 207.54.101.193
Secondary DNS Server: 207.54.98.226

Eth1 (network) setup as a DHCP server with IPs of 192.168.2.x

Please help. Let me know if you need any other info.

EDIT: woot I've managed to make it give out IPs for the network again, but no internet =/

I see lots of people get asked for their ifconfig output so here it is.

eth0 Link encap:Ethernet HWaddr 00:20:18:56:C8:F6
inet addr:207.54.101.201 Bcast:207.54.101.207 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:370 errors:0 dropped:0 overruns:0 frame:0
TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:446765 (436.2 Kb) TX bytes:16614 (16.2 Kb)
Interrupt:11 Base address:0x6400

eth1 Link encap:Ethernet HWaddr 00:48:54:8B:BB:9B
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:324 errors:0 dropped:0 overruns:0 frame:0
TX packets:427 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:24776 (24.1 Kb) TX bytes:454344 (443.6 Kb)
Interrupt:10 Base address:0xe000

Last edited by lord_emperor; 05-28-2004 at 03:41 AM.
 
Old 05-28-2004, 04:06 AM   #4
lord_emperor
LQ Newbie
 
Registered: May 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I ALMOST DID IT!!! ALMOST ALMOST!!!


Got a client connected to the router, it can get to google by typing http://216.239.37.99 but not http://www.google.com

SO, definitely a DNS thing eh?

Where can I specify the DNS servers?
 
Old 05-28-2004, 04:30 AM   #5
jenso
LQ Newbie
 
Registered: May 2004
Location: Stockholm
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
resolv.conf

You put the DNS in /etc/resolv.conf

/Jens
 
Old 05-28-2004, 05:04 AM   #6
lord_emperor
LQ Newbie
 
Registered: May 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks Jen.

Ok I added the lines

nameserver 207.54.101.193
nameserver 207.54.98.226

ANd it didn't work =(

But on a hunch I went into my windows machine properties and specified those DNS servers. Voila! it works on this machine.

I am somewhat confused and I want this to be set up right, but it's 3AM and after 3 hours plugging away at this, I think this is an acceptable workaround until I can get this figured out better. Thanks everyone for tonight's help and (hopefully) tomorrow's.
 
  


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
network card setup Vincent_Vega Slackware 4 12-19-2003 05:16 PM
Newbie needs help with network card setup Manny88 Linux - Hardware 1 09-18-2003 09:11 AM
Setup the network card ust Linux - General 2 08-27-2003 08:09 AM
Help with network card setup lowly_tech Linux - Networking 2 07-12-2002 08:35 PM
Network card setup question vdi_nenna Linux - Networking 1 05-19-2002 09:59 AM

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

All times are GMT -5. The time now is 03:32 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
Open Source Consulting | Domain Registration