Linux for PlayStation 2 Community - Forums


Summary |  Home Page |  Forums |  Lists |  Tasks |  Docs |  Surveys |  News |  Files | 

Discussion Forums: Networking

Admin

Message: 50450
BY: impact72
DATE: 2007-Jun-09 21:28
SUBJECT: RE: eth0 configuration file & details

Hi ima total newbie in linux...
pcummins say:
/etc/sysconfig/network

Sample:

NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=playstation2
GATEWAY=192.168.0.1

/etc/sysconfig/network-scripts/ifcfg-eth0

Sample:

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

Those 3 files are all that is needed to configure it for say, a local router gateway to the Internet on a private subnet. You can command-line it with ifconfig, however it's not trivial, it's a lot easier to edit the three files and restart.

OK do something like this:
v /etc/sysconfig/network
tipp in: NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=playstation2
GATEWAY=192.168.0.1
then i pressed <esc>
then i pressed ZZ to save and close the programm...but there is a error says:
Error: /etc/sysconfig/network: No such file ore directory

I think it is because i dont know what the fileending is for:

/etc/sysconfig/network

Sample:

NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=playstation2
GATEWAY=192.168.0.1

and for:

/etc/sysconfig/network-scripts/ifcfg-eth0

Sample:

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

CAN you please saay me the fileending?
THX IMPACT


 

Thread View

Thread Author Date
eth0 configuration file & detailskaluriel2006-Mar-01 06:18
      RE: eth0 configuration file & detailspcummins2006-Mar-17 20:16
            RE: eth0 configuration file & detailskaluriel2006-Mar-20 04:06
            RE: eth0 configuration file & detailsneocop2006-Aug-13 17:33
            RE: eth0 configuration file & detailsneocop2006-Aug-13 17:34
            RE: eth0 configuration file & detailsrustusencan2007-Jan-12 04:19
                  RE: eth0 configuration file & detailspcummins2007-Jan-17 05:51
            RE: eth0 configuration file & detailsimpact722007-Jun-09 21:28
                  RE: eth0 configuration file & detailspcummins2007-Jun-12 07:33
                  RE: eth0 configuration file & detailsimpact722007-Jun-12 08:09
                        RE: eth0 configuration file & detailspcummins2007-Jun-14 06:38
                              RE: eth0 configuration file & detailsroad162007-Sep-05 04:16
                                    RE: eth0 configuration file & detailspcummins2007-Sep-11 04:52

 

Post a followup to this message

You could post if you were [logged in]