I guess this will help you if you will be using dynamic ip address and if it
uses eth0.
ifconfig | grep -A 4 eth0 | awk '/inet/ { print $2 } ' | sed -e s/addr://
You can use this command with ipchains scripts. Store the output in a
variable.
Ano nga pala ang interface na created kapag cable modem ang setup?
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
- [plug] Linux and Destiny Cable Steve Sy
- RE: [plug] Linux and Destiny Cable Ronneil Camara
- RE: [plug] Linux and Destiny Cable Ian C. Sison
- RE: [plug] Linux and Destiny Cable Steve Sy
- RE: [plug] Linux and Destiny Cable Ronneil Camara
- RE: [plug] Linux and Destiny Cable Ronneil Camara
- RE: [plug] Linux and Destiny Cable Ian C. Sison
- RE: [plug] Linux and Destiny Cable Ronneil Camara
- RE: [plug] Linux and Destiny Cable Ronneil Camara
- RE: [plug] Linux and Destiny Cable Daniel Mendoza
- RE: [plug] Linux and Destiny Cable Steve Sy
- RE: [plug] Linux and Destiny Cable Ian C . Sison
- RE: [plug] Linux and Destiny Cable Orlando Andico
- [plug] [OT] cable modem subscriptions ... Ian C . Sison
- Re: [plug] [OT] cable modem subsc... Orlando Andico
- Re: [plug] [OT] cable modem s... Ian C . Sison
- Re: [plug] [OT] cable modem s... Andre Cruz
- RE: [plug] Linux and Destiny Cable Kelsey Hartigan-Go
