tanzania
12-29-2002, 10:09 PM
I'm totally new to Linux and just installed RedHat 7.3 on my computer. I'm unable to get any Internet connectivity and after much painful investigation, I've uncovered that I don't have a default gateway created. When I use ifconfig to add the gateway, I get the following error message:
SIOCSIFADDR: Permission Denied
add: unknown interface: No such device
gw: Host name lookup failure
Can anyone help? BTW, my NIC card is a Linksys wireless card. I know that the actual network is functional since I have connectivity on my computer running Win2k.
I also tried editing /etc/sysconfig/network-scripts/ifcfg-eth0 and included the following information:
DEVICE='eth0'
BOOTPROTO='none'
BROADCAST='192.168.0.255'
IPADDR='192.168.0.255'
NETMASK='255.255.255.0'
NETWORK=DIDN'T INCLUDE THIS LINE SINCE DIDN'T KNOW ADDRESS
ONBOOT='yes'
GATEWAY='192.168.1.1'
TYPE='Ethernet'
USERCTL='no'
I can ping the broadcast address, but can't ping any internet address. Maybe I have the wrong addresses for some of the entries in this file? Is there a way to check addresses for things like the default gateway? I was just copying settings on my Win2k machine.
Thanks in advance for your help.
SIOCSIFADDR: Permission Denied
add: unknown interface: No such device
gw: Host name lookup failure
Can anyone help? BTW, my NIC card is a Linksys wireless card. I know that the actual network is functional since I have connectivity on my computer running Win2k.
I also tried editing /etc/sysconfig/network-scripts/ifcfg-eth0 and included the following information:
DEVICE='eth0'
BOOTPROTO='none'
BROADCAST='192.168.0.255'
IPADDR='192.168.0.255'
NETMASK='255.255.255.0'
NETWORK=DIDN'T INCLUDE THIS LINE SINCE DIDN'T KNOW ADDRESS
ONBOOT='yes'
GATEWAY='192.168.1.1'
TYPE='Ethernet'
USERCTL='no'
I can ping the broadcast address, but can't ping any internet address. Maybe I have the wrong addresses for some of the entries in this file? Is there a way to check addresses for things like the default gateway? I was just copying settings on my Win2k machine.
Thanks in advance for your help.