You are not logged in.
Hi,
I am trying to migrate my wired network configuration from /etc/rc.conf to a netcfg profile.
from /etc/rc.conf
interface=eth0
address=192.168.0.1
netmask=255.255.255.0
gateway=192.168.2.1
/etc/network.d/wired
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.0.1'
GATEWAY='192.168.2.1'
DNS=('192.168.2.1')
NETMASK='255.255.255.0'
The problem is, it does not work: executing "netcfg wired" only gives
:: wired up [BUSY]
> No connection [FAIL]
EDIT:
NETCFG_DEBUG="yes" netcfg wired
DEBUG: Loading profile wired
DEBUG: Configuring interface eth0
:: wired up [BUSY]
DEBUG: status reported to profile_up as:
DEBUG: Loading profile wired
DEBUG: Configuring interface eth0
DEBUG: ethernet_up bring_interface up eth0
> No connection
DEBUG: profile_up connect failed
[FAIL]
Any idea how to make it work?
Last edited by Phate666 (2012-10-26 16:09:36)
Offline
Your interface's ip address and the gateway address are in different subnets, so neither of the above configs should work. Recheck your rc.conf original.
Offline
The rc.conf is correct because there are two diffrent subnets.
My PS3 is connected to my computer via ethernet.
The computer is connected via wifi to the router (ip 192.168.2.1).
When using /etc/rc.d/network to start ethernet everything works perfect, the PS3 can stream video from the computer and access internet.
Last edited by Phate666 (2012-10-26 16:34:47)
Offline
If you want help, provide all relevant details. Your first post mentions eth0 only,
Offline
As was say above see NETMASK. It must be 255.255.0.0, not 255.255.255.0 ! Try it.
Offline