- Previous thread: Bug#531096: ITP: r-cran-multicore -- GNU R packagefor parallel processing on multi-core machines
- Next thread: Can I preserve the case of folder name after a vfat partition is mounted?
- Threads sorted by date: debian 200905
Hello,
I installed lenny yesterday on my desktop system. I would like to change
it so it has a static ip address rather than a dhcp assigned one.
How do I go about setting the ip address?
If there is a console-based method I would prefer that since icannot
edit the network configuration through the networking tools applet (I
don't have permissions).
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
I installed lenny yesterday on my desktop system. I would like to change
it so it has a static ip address rather than a dhcp assigned one.
How do I go about setting the ip address?
If there is a console-based method I would prefer that since icannot
edit the network configuration through the networking tools applet (I
don't have permissions).
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Victor Padro wrote:
> You need to have permissions whether you edit the /etc/network/interface or
> the network manager applet.
Very true. So:
sudo vi /etc/network/interfaces
I suspect he already knew that, though...
- --
Glenn English
ghe@slsware.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkognTMACgkQ04yQfZbbTLb/PQCcCaoTUEIFGFwfJ0AOTp/E7P4L
Fe4AniiVcTWCKUWE6VRxsh7TlaKhjQVt
=e8LZ
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Hash: SHA1
Victor Padro wrote:
> You need to have permissions whether you edit the /etc/network/interface or
> the network manager applet.
Very true. So:
sudo vi /etc/network/interfaces
I suspect he already knew that, though...
- --
Glenn English
ghe@slsware.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkognTMACgkQ04yQfZbbTLb/PQCcCaoTUEIFGFwfJ0AOTp/E7P4L
Fe4AniiVcTWCKUWE6VRxsh7TlaKhjQVt
=e8LZ
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/30/09 01:28, ghe wrote:
> Donald Raikes wrote:
>> Hello,
>
>> I installed lenny yesterday on my desktop system. I would like to change
>> it so it has a static ip address rather than a dhcp assigned one.
>
>> How do I go about setting the ip address?
>> If there is a console-based method I would prefer that since icannot
>> edit the network configuration through the networking tools applet (I
>> don't have permissions).
>
> Hey! One I can answer!
>
>
> vi /etc/network/interfaces
>
> Here's a known working interfaces file from my LAN:
>
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth0
> auto eth0
> iface eth0 inet static
> address 192.168.3.3
> netmask 255.255.255.0
> network 192.168.3.0
> broadcast 192.168.3.255
> gateway 192.168.3.1
> # dns-* options are implemented by the resolvconf package, if installed
> dns-nameservers 192.168.2.30
> dns-search slsware.lan
>
> Then reboot. It's possible to get eth0 to reconfig without a reboot, but
> I don't remember how...
>
It's
'/etc/init.d/networking restart'
as root, or
'sudo /etc/init.d/networking restart'
as a user with sudo permissions.
Also, if you're using a wireless card, here's my wireless
/etc/network/interfaces:
hrickards@siddy:~$ cat /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
auto wlan0
iface wlan0 inet static
wireless-essid *************
address 192.168.2.1
netmask 255.255.255.0
gateway 192.168.2.150
I don't have a wireless key as I can never get the rt73usb module to
work with either WEP or WPA. I'm working on it though, so don't rant on
at me about how insecure it is.
- --
Many thanks
Harry Rickards (GPG Key ID:646ED06A)
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/GCM/GCS/GCC/GIT/GM d? s: a? C++++ UL++++ P- L+++ E--- W+++ N o K+
w--- O- M- V- PS+ PE Y+ PGP++ t 5 X R tv-- b+++ DI D---- G e* h! !r y?
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkohAWcACgkQ1kZz3mRu0GrV7ACgqReVF8Jqyj/Q+o0PNAQXi2+i
gsoAn19UIPtevdEwsv5nUoWnDYYEt+QP
=45u4
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Hash: SHA1
On 05/30/09 01:28, ghe wrote:
> Donald Raikes wrote:
>> Hello,
>
>> I installed lenny yesterday on my desktop system. I would like to change
>> it so it has a static ip address rather than a dhcp assigned one.
>
>> How do I go about setting the ip address?
>> If there is a console-based method I would prefer that since icannot
>> edit the network configuration through the networking tools applet (I
>> don't have permissions).
>
> Hey! One I can answer!
>
>
> vi /etc/network/interfaces
>
> Here's a known working interfaces file from my LAN:
>
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth0
> auto eth0
> iface eth0 inet static
> address 192.168.3.3
> netmask 255.255.255.0
> network 192.168.3.0
> broadcast 192.168.3.255
> gateway 192.168.3.1
> # dns-* options are implemented by the resolvconf package, if installed
> dns-nameservers 192.168.2.30
> dns-search slsware.lan
>
> Then reboot. It's possible to get eth0 to reconfig without a reboot, but
> I don't remember how...
>
It's
'/etc/init.d/networking restart'
as root, or
'sudo /etc/init.d/networking restart'
as a user with sudo permissions.
Also, if you're using a wireless card, here's my wireless
/etc/network/interfaces:
hrickards@siddy:~$ cat /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
auto wlan0
iface wlan0 inet static
wireless-essid *************
address 192.168.2.1
netmask 255.255.255.0
gateway 192.168.2.150
I don't have a wireless key as I can never get the rt73usb module to
work with either WEP or WPA. I'm working on it though, so don't rant on
at me about how insecure it is.
- --
Many thanks
Harry Rickards (GPG Key ID:646ED06A)
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/GCM/GCS/GCC/GIT/GM d? s: a? C++++ UL++++ P- L+++ E--- W+++ N o K+
w--- O- M- V- PS+ PE Y+ PGP++ t 5 X R tv-- b+++ DI D---- G e* h! !r y?
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkohAWcACgkQ1kZz3mRu0GrV7ACgqReVF8Jqyj/Q+o0PNAQXi2+i
gsoAn19UIPtevdEwsv5nUoWnDYYEt+QP
=45u4
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
On Sat, 30 May 2009 10:50:32 +0100
Harry Rickards wrote:
> I don't have a wireless key as I can never get the rt73usb module to
> work with either WEP or WPA. I'm working on it though, so don't
> rant on at me about how insecure it is.
I don't know if this will help, but I had to change the encryption on
my router from TKIP to AES.
--
Raquel
http://www.byraquel.com
============================================================
Man's fear of ideas is probably the greatest dike holding back human
knowledge and happiness.
--Morris Leopold Ernst
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Harry Rickards wrote:
> I don't have a wireless key as I can never get the rt73usb module to
> work with either WEP or WPA. I'm working on it though, so don't
> rant on at me about how insecure it is.
I don't know if this will help, but I had to change the encryption on
my router from TKIP to AES.
--
Raquel
http://www.byraquel.com
============================================================
Man's fear of ideas is probably the greatest dike holding back human
knowledge and happiness.
--Morris Leopold Ernst
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
On Fri,29.May.09, 18:28:08, ghe wrote:
=20
> Here's a known working interfaces file from my LAN:
=20
Nitpick:
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>=20
> # The loopback network interface
> auto lo
> iface lo inet loopback
>=20
> # The primary network interface
> allow-hotplug eth0
> auto eth0
You don't need both 'allow-hotplug' and 'auto'. If 'allow-hotplug' works=20
use that, it will enable your interface only when active.
> iface eth0 inet static
> address 192.168.3.3
> netmask 255.255.255.0
> network 192.168.3.0
> broadcast 192.168.3.255
> gateway 192.168.3.1
> # dns-* options are implemented by the resolvconf package, if installed
> dns-nameservers 192.168.2.30
> dns-search slsware.lan
>=20
> Then reboot. It's possible to get eth0 to reconfig without a reboot, but
> I don't remember how...
ifdown eth0 ; ifup eth0
should do the trick.
Regards,
Andrei
--=20
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
=20
> Here's a known working interfaces file from my LAN:
=20
Nitpick:
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>=20
> # The loopback network interface
> auto lo
> iface lo inet loopback
>=20
> # The primary network interface
> allow-hotplug eth0
> auto eth0
You don't need both 'allow-hotplug' and 'auto'. If 'allow-hotplug' works=20
use that, it will enable your interface only when active.
> iface eth0 inet static
> address 192.168.3.3
> netmask 255.255.255.0
> network 192.168.3.0
> broadcast 192.168.3.255
> gateway 192.168.3.1
> # dns-* options are implemented by the resolvconf package, if installed
> dns-nameservers 192.168.2.30
> dns-search slsware.lan
>=20
> Then reboot. It's possible to get eth0 to reconfig without a reboot, but
> I don't remember how...
ifdown eth0 ; ifup eth0
should do the trick.
Regards,
Andrei
--=20
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrei Popescu wrote:
> On Fri,29.May.09, 18:28:08, ghe wrote:
>
>>
>> # The primary network interface
>> allow-hotplug eth0
>> auto eth0
>
> You don't need both 'allow-hotplug' and 'auto'. If 'allow-hotplug' works
> use that, it will enable your interface only when active.
Thank you. I sorta knew they weren't both required, but I didn't know
why. Why is good...
- --
Glenn English
ghe@slsware.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoiomIACgkQ04yQfZbbTLYD6ACfUZyMih7k7MK/74D72G2jTItB
7dAAoK4QoWCYPi5jpcANOKIEC8u4xK8t
=PwkQ
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Hash: SHA1
Andrei Popescu wrote:
> On Fri,29.May.09, 18:28:08, ghe wrote:
>
>>
>> # The primary network interface
>> allow-hotplug eth0
>> auto eth0
>
> You don't need both 'allow-hotplug' and 'auto'. If 'allow-hotplug' works
> use that, it will enable your interface only when active.
Thank you. I sorta knew they weren't both required, but I didn't know
why. Why is good...
- --
Glenn English
ghe@slsware.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoiomIACgkQ04yQfZbbTLYD6ACfUZyMih7k7MK/74D72G2jTItB
7dAAoK4QoWCYPi5jpcANOKIEC8u4xK8t
=PwkQ
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Related Threads