Discussion:
[Grml] How to switch from dynamic IP to static IP in grml
T o n g
2011-02-07 20:34:12 UTC
Permalink
Hi,

I use dynamic IP previously, now I need to use static IP for my ether
card, which had been automatically configured by grml:

$ cat /etc/networks
default 0.0.0.0
loopback 127.0.0.0
link-local 169.254.0.0

$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:2f:be:4b:ba
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1313320 errors:0 dropped:0 overruns:0 frame:0
TX packets:1179010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:697520612 (665.2 MiB) TX bytes:782279263 (746.0 MiB)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:803382 errors:0 dropped:0 overruns:0 frame:0
TX packets:803382 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:233726809 (222.8 MiB) TX bytes:233726809 (222.8 MiB)

How can I switch from dynamic IP to static IP now?

$ grep -i network /etc/grml/autoconfig
CONFIG_DEBNET='yes' # search for /etc/network/interfaces on
partitions and set up network afterwards
CONFIG_DISTCC='yes' # activate and setup distcc through
bootparam distcc=$NETWORK,$INTERFACE

Neither seems to me is the correct switch.

Please help.

Thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
T o n g
2011-02-07 20:59:14 UTC
Permalink
Post by T o n g
How can I switch from dynamic IP to static IP now?
$ grep -i network /etc/grml/autoconfig
CONFIG_DEBNET='yes' #
search for /etc/network/interfaces on partitions and set up network
afterwards
That's the one, is it?
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Ulrich Dangel
2011-02-08 01:17:10 UTC
Permalink
* T o n g wrote [07.02.11 21:59]:
Hi Tong,
Post by T o n g
Post by T o n g
How can I switch from dynamic IP to static IP now?
$ grep -i network /etc/grml/autoconfig
CONFIG_DEBNET='yes' #
search for /etc/network/interfaces on partitions and set up network
afterwards
That's the one, is it?
Grml 2010.12 does not automatically start pump but uses
/etc/network/interfaces. This means it is enough to just
configure your ip configuration via /etc/network/interfaces


Ulrich
--
twitter: @mr_ud | identica: @mru
IRCNet: mru | freenode: mrud
Ulrich Dangel
2011-02-08 01:17:10 UTC
Permalink
* T o n g wrote [07.02.11 21:59]:
Hi Tong,
Post by T o n g
Post by T o n g
How can I switch from dynamic IP to static IP now?
$ grep -i network /etc/grml/autoconfig
CONFIG_DEBNET='yes' #
search for /etc/network/interfaces on partitions and set up network
afterwards
That's the one, is it?
Grml 2010.12 does not automatically start pump but uses
/etc/network/interfaces. This means it is enough to just
configure your ip configuration via /etc/network/interfaces


Ulrich
--
twitter: @mr_ud | identica: @mru
IRCNet: mru | freenode: mrud
Ulrich Dangel
2011-02-08 01:17:10 UTC
Permalink
* T o n g wrote [07.02.11 21:59]:
Hi Tong,
Post by T o n g
Post by T o n g
How can I switch from dynamic IP to static IP now?
$ grep -i network /etc/grml/autoconfig
CONFIG_DEBNET='yes' #
search for /etc/network/interfaces on partitions and set up network
afterwards
That's the one, is it?
Grml 2010.12 does not automatically start pump but uses
/etc/network/interfaces. This means it is enough to just
configure your ip configuration via /etc/network/interfaces


Ulrich
--
twitter: @mr_ud | identica: @mru
IRCNet: mru | freenode: mrud
T o n g
2011-02-07 20:34:12 UTC
Permalink
Hi,

I use dynamic IP previously, now I need to use static IP for my ether
card, which had been automatically configured by grml:

$ cat /etc/networks
default 0.0.0.0
loopback 127.0.0.0
link-local 169.254.0.0

$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:2f:be:4b:ba
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1313320 errors:0 dropped:0 overruns:0 frame:0
TX packets:1179010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:697520612 (665.2 MiB) TX bytes:782279263 (746.0 MiB)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:803382 errors:0 dropped:0 overruns:0 frame:0
TX packets:803382 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:233726809 (222.8 MiB) TX bytes:233726809 (222.8 MiB)

How can I switch from dynamic IP to static IP now?

$ grep -i network /etc/grml/autoconfig
CONFIG_DEBNET='yes' # search for /etc/network/interfaces on
partitions and set up network afterwards
CONFIG_DISTCC='yes' # activate and setup distcc through
bootparam distcc=$NETWORK,$INTERFACE

Neither seems to me is the correct switch.

Please help.

Thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
T o n g
2011-02-07 20:59:14 UTC
Permalink
Post by T o n g
How can I switch from dynamic IP to static IP now?
$ grep -i network /etc/grml/autoconfig
CONFIG_DEBNET='yes' #
search for /etc/network/interfaces on partitions and set up network
afterwards
That's the one, is it?
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
T o n g
2011-02-07 20:34:12 UTC
Permalink
Hi,

I use dynamic IP previously, now I need to use static IP for my ether
card, which had been automatically configured by grml:

$ cat /etc/networks
default 0.0.0.0
loopback 127.0.0.0
link-local 169.254.0.0

$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:2f:be:4b:ba
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1313320 errors:0 dropped:0 overruns:0 frame:0
TX packets:1179010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:697520612 (665.2 MiB) TX bytes:782279263 (746.0 MiB)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:803382 errors:0 dropped:0 overruns:0 frame:0
TX packets:803382 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:233726809 (222.8 MiB) TX bytes:233726809 (222.8 MiB)

How can I switch from dynamic IP to static IP now?

$ grep -i network /etc/grml/autoconfig
CONFIG_DEBNET='yes' # search for /etc/network/interfaces on
partitions and set up network afterwards
CONFIG_DISTCC='yes' # activate and setup distcc through
bootparam distcc=$NETWORK,$INTERFACE

Neither seems to me is the correct switch.

Please help.

Thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
T o n g
2011-02-07 20:59:14 UTC
Permalink
Post by T o n g
How can I switch from dynamic IP to static IP now?
$ grep -i network /etc/grml/autoconfig
CONFIG_DEBNET='yes' #
search for /etc/network/interfaces on partitions and set up network
afterwards
That's the one, is it?
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Loading...