Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Fedors Core 3, Red Hat 9, Mandrake 8.1
Posts: 52
Rep:
First see if the card is configured, see if it is working. Enter the following command and you should see the eth0 output as shown. If not it needs configuring.
If eth0 is not shown use the GUI network configurator or edit your ifcfg-eth0 file mine is given below:
$ /etc/sysconfig/network-scripts/ifcfg-eth0
# this is my manually configured ifcfg-eth0 file
DEVICE=eth0
BOOTPROTO=none
IPADDR=192.168.1.105
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
MTU=1400
USERCTL=no
PEERDNS=no
GATEWAY=192.168.1.2
TYPE=Ethernet
To activate the card use:
/etc/sysconfig/network-scripts/ifup ifcfg-eth0
You may have to restart the network. You can do this by issuing the command
$ /etc/init.d/network restart
Without knowing your output of the ifconfig -a command I am unsure of what else to tell you. First you have to make sure your card is working then configure the networking.
i connected my pc to an old pc i have hiden away,
and got quake 2 player working... (the network card itself works fine)
i have set the network cards IP to static 192.168.69.69
and its netmask to 255.255.255.0
and defualt gateway to 127.0.0.1
HOWEVER....
i cannot use it to get on the internet.
im using redhat-config-network
and the internet connection wizzard.
but when ive set up everyhting to how it should be, i hit activate ppp0
and it just sits there activation, and eventually fails.
the PC is a normal desktop PC.
ALSO...
i tried connecting the Broadband up to the PC via the USB cable.
redhat detected it, and put the cable modem in my USB section of Controll Center.
and called it eth1
when using the wizzard to setup the internet connection i set broadband,
and set device eth1 with all the unser names ect ect.. but still attempting to activate has the same result.
Distribution: Fedors Core 3, Red Hat 9, Mandrake 8.1
Posts: 52
Rep:
Have you to set your IP address to be in the same network as the modem or have it give you an IP via dhcp.
Check with your service provider about what your IP address can be with the modem.
192.168.69.69 255.255.255.0
will be in a different network if your modem only supports
192.168.1.0 255.255.255.0
The net mask tells which octets to match for your network. These are different networks with that mask 255.255.255.0
192.168.69.0
192.168.1.0
Try changing your IP to 192.168.1.1 and see if it works. Without knowing what your service provider's modem is set to operate at it is hard to say what you can set it to. Your service provider or modem documentation should give you some info on what IP to use.
Distribution: Fedors Core 3, Red Hat 9, Mandrake 8.1
Posts: 52
Rep:
Have you to set your IP address to be in the same network as the modem or have it give you an IP via dhcp.
Check with your service provider about what your IP address can be with the modem.
192.168.69.69 255.255.255.0
will be in a different network if your modem only supports
192.168.1.0 255.255.255.0
The net mask tells which octets to match for your network. These are different networks with that mask 255.255.255.0
192.168.69.0
192.168.1.0
Try changing your IP to 192.168.1.1 and see if it works. Without knowing what your service provider's modem is set to operate at it is hard to say what you can set it to. Your service provider or modem documentation should give you some info on what IP to use.
thankyou, i will try that.....
i can only access the internet from UNIVERSITY....
so to try out what you surgest i need to go home... then cant reply till im nexi in UNI.
so i appologise for my slow reply's.
thantyou for the help so far.
i tried to use the dhcp, but this doesnt work, when i try to activate the network device ppp it fails with no error message, which im thinking is due to me incorect IP address / netmask.
ill have anouther try and come back with either a thankyou, or more qusttions.. hopefully the former
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.