Linux for PlayStation 2 Community - Forums


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

Discussion Forums: Networking

Admin

Message: 49430
BY: pcummins
DATE: 2006-Mar-17 20:16
SUBJECT: RE: eth0 configuration file & details

It's in:

/etc/resolv.conf

Sample:

search localdomain
nameserver 192.168.0.1

/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.


 

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]