My goal is to have two computers online through D-Link router. One runs windows xp and the other fedora 13. I want xp/firefox to be able to go online ( it can right now) and see fedora index file ( by typing in server ip behind router) so I can see my work through firefox as I build the server and go online with both.
I connected both computers with a crossover cable (offline), and I was able to see my index file thru firefox. Now I'm trying to connect both to internet thru router with cat5 cable.
xp is connected. Trying to add fedora. Connected fedora to router with cat 5 cable. Used ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up to bring up interface.
Tried to add routers ip address as default gateway to routing table with command: route add default gw 192.168.0.1 (ip for manual router web config) netmask 255.255.255.0
Bash response: SIOCADDRT: No such process.
cat /etc/sysconfig/network returns:
Networking=yes
Hostname=localhost.localdomain
cat /etc/sysconfig/network-scripts/ifcfg-eth0 returns:
DEVICE=eth0
ONBOOT=yes
HWADDR=2C

3...
BOOTPROTO=none
IPADDR=192.168.1.2
NETMASK=255.255.255.0
TYPE=Ethernet
Does anyone know how to connect fedora to router for online access?