Click to See Complete Forum and Search --> : Lan connection problems
RAGEAngel9
03-24-2002, 11:47 PM
Sorry I know this has been brought up before and I've searched through the forums but I'm stuck.
I'm tryign to connect to the net over lan.
I have my Static Ip, DNS, Gateway, and whatnot. However, I'm not sure what to do with this info.
Ín my /etc/resolv.conf file I have the 3 domain addresses to search, domain <domainname>, search <domainname>
I don't know what it should look like.
I've been messing around with Network Configurator but I have no idea what to add where as there are um 100 places that say domain.
Anyway I'm lost and any help would be very appreciated.
And yes I know my card works. I'm dual-booting
Dagda
03-25-2002, 11:14 AM
Try running netcfg or netconfig at the command line
RAGEAngel9
03-25-2002, 06:29 PM
No good well for netconfig.
I don't have netcfg.OK maybe I'm entering things wrong
I have:
Static Ip
Gateway
DomainName -> resnet.school.edu
3 domain addresses
Am I entering things right?
When it asks for domain I always enter the one above. Thats right, right?
uh so frustrating.
SuperHornet
03-25-2002, 10:01 PM
In your /etc/resolv.conf file you should have the following
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
Put your Primary DNS server in the first line. Second DNS server in the second line etc....
For the other info
it should look like this:
in /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=Your_servers_name
GATEWAY=10.5.1.254
To place your Static IP
edit /etc/sysconfig/networking/devices/eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
TYPE=Ethernet
USERCTL=no
PEERDNS=no
IPADDR=192.168.0.1
GATEWAY=192.168.0.100
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
Setting up the IP address will require some knowledge of basic TCP/IP.
If you need help doing that email me your IP layout and I will give you the correct settings.
You can confirm your settings using /sbin/ifconfig
Also check out webmin (http://www.webmin.com) It is a GREAT utility for administrator your Linux box.
RAGEAngel9
03-25-2002, 10:36 PM
Thank you very much
I'll go try this out and see if it works.
RAGEAngel9
04-07-2002, 08:53 PM
Ok so I still can't get online and I think things are setup right. Here is the contents of my
/etc/sysconfig/networking/devices/ifcfg-eth0
DEVICE="eth0"
ONBOOT="yes"
BOOTPROTO="none"
IPADDR="128.210.240.93"
NETMASK="255.255.255.0"
GATEWAY=128.210.240.1
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
I'm not sure how to fix it.
Also wonder if I'm supposed to have the "s there.
Ok so any suggestions?
RAGEAngel9
04-09-2002, 01:10 AM
FOR THE LOVE OF GOD PLEASE HELP ME!!!!
I MAY JUST START HAVE TO KICK MY COMPUTER UNTIL IT WORKS!
anyway thankx
mychl
04-09-2002, 11:24 AM
Get rid of the "s around any numbers, leave them for the yes/no options.
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=128.210.240.93
NETMASK=255.255.0.0
GATEWAY=128.210.240.1
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
TYPE=Ethernet
HWADDR=xx.xx.xx.xx
USERCTL=no
NETWORK=128.210.240.0
BROADCAST=128.210.240.255
PEERDNS=no
Try that.
You will have to check on what the NETWORK and BROADCAST will be though.
[ 09 April 2002: Message edited by: mychl ]