LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Network card setup (https://www.linuxquestions.org/questions/slackware-14/network-card-setup-186671/)

lord_emperor 05-27-2004 05:23 PM

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?

Peacedog 05-27-2004 06:45 PM

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.

lord_emperor 05-28-2004 03:13 AM

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

lord_emperor 05-28-2004 04:06 AM

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?

jenso 05-28-2004 04:30 AM

resolv.conf
 
You put the DNS in /etc/resolv.conf

/Jens

lord_emperor 05-28-2004 05:04 AM

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.


All times are GMT -5. The time now is 08:40 AM.