I"m trying to learn how to use debian as a kiosk machine OS
Right now I'm stuck on network configuration.
* Environment
Virtualbox VM
8GB Hard drive
512mb ram
Debian Netinst installed
+ openssh
+ base system tools
At first boot I noticed I had no ifconfig, So I installed net-tools
Code: Select all
apt-get install net-tools
So I installed sudo
Code: Select all
apt-get install sudo
Code: Select all
sudo adduser username sudo
A little google research reveiled that the world has moved on and eth0 is no longer considered useful ????
I'm a little set in my ways so I tried guide here to change it back to eth0
http://www.itzgeek.com/how-tos/linux/de ... ian-9.html
To regain the ethX back, edit the grub file.
Code: Select all
$ sudo nano /etc/default/grub
From:
Code: Select all
GRUB_CMDLINE_LINUX=""
Code: Select all
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
Code: Select all
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Code: Select all
$ sudo nano /etc/network/interfaces
https://linuxconfig.org/how-to-setup-a- ... bian-linux
And I set a static ip addres which is what I wanted all along
My /etc/network/interfaces now looks like this
Code: Select all
allow-hotplug eth0
iface eth0 inet static
address 10.1.1.213
netmask 255.255.255.0
gateway 10.1.1.1
Code: Select all
sudo service networking restart
I've attached a screenshot of output of following commands
ip a
ifconfig
ping any address on my LAN or internet results in
suggestions about how to fix this would be very welcomeconnect: network is unreachable