LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting Internet Working!?!? HELP PLS (https://www.linuxquestions.org/questions/linux-newbie-8/getting-internet-working-help-pls-96001/)

sammyd56 09-23-2003 02:39 PM

Getting Internet Working!?!? HELP PLS
 
Hello there good sirs,

DISTRO: Mandrake 9.1

I am trying to get my internet connection working with Linux, but it is proving to be more difficult than I expected.

I connect to the internet using a router, which is connected to a NIC (properly connected and installed) via ethernet.

I used drakconnect (the network setup wizard) to try and set up my connection. I selected that I would like to connect by LAN through my ethernet adapter, and inputted my ip address and subnet mask correctly.

Then I clicked on next and it comes up with:

HOSTNAME: ?????
ZEROCONF: ?????
DNS: *Inputted correctly*
GATEWAY: *Inputted correctly*

What do I put under hostname and zeroconf? I tried leaving them blank - doesn't work :( No internet.

Any help greatly appreciated,

Sam

sammyd56 09-23-2003 02:43 PM

Just had a thought, my router has WEP encryption enabled. That might be the problem. Can you enter a WEP Key in Linux? If so, how?

Thanks,

Sam

micxz 09-23-2003 03:07 PM

Your connection to the router via ethernet and NIC will not be encrypted with WEP as far as I know. WEP is for the clients conneting to that wireless access point via wireless connections.

I suggest that you look at your network setup/config scripts in "/etc/sysconfig". In here you will find a files named something like ifcfg-eth0. Find the right one for you NIC and set up your IP, and Subnet there. Restart the network and your set;

/bin/bash 09-23-2003 03:33 PM

What type of router?

Type cat /etc/sysconfig/network

HOSTNAME=spongebob
NETWORKING=yes
GATEWAY=192.168.0.1
GATEWAYDEV=eth0

HOSTNAME should match what you get when you type hostname at the command prompt.. NETWORKING=yes is required. GATEWAY=192.168.0.1 <- This is the internal IP of the router.
GATEWAYDEV=eth0 <- The router is on eth0.

There could be other things in the file like DHCP and so on. When you finish fixing that file do what micxz suggested and then restart your network:
service network restart


All times are GMT -5. The time now is 02:15 AM.