On 18/08/17 18:45, Steve Litt wrote:
On Fri, 18 Aug 2017 16:36:12 +0100
Dave Turner <[email protected]> wrote:
On 18/08/17 00:22, Joel Roth wrote:
deleted /lib/udev and all the sub-directories
With eudev I have a working keyboard so today I went in and removed
/etc/systemd/* . Re-booted and I still have a working keyboard but no
network connection!
Hi Dave,
I think you have /etc/init.d/networking or something like that. This
shellscript assumes a certain name for your network interface. Your
move to eudev might have changed that name.
Perform the following command to learn interface names:
ip link
Strongarm your network name(s) into /etc/init.d/networking as needed.
If you really, really can't get /etc/init.d/networking to do the job,
here's a shellscript to bring up a wired interface to a defined IP:
#!/bin/bash
ip link set dev enp3s0 down
ip addr add 192.168.100.2/24 dev enp3s0
ip addr add 192.168.100.102/24 dev enp3s0
ip link set dev enp3s0 up
ip route add default via 192.168.100.96
Assuming your interface is named enp3s0 (and rename it if not), the
preceding script will work on any distro.
Somewhere in the past I posted, on this list, a shellscript to deduce
the name of the wired interface, and jam it into an environment
variable so it could be passed to scripts like the preceding.
If you want to boot up wifi, you need your boot to early run, *with
respawn*, wpa_supplicant, as aa daemon. This means for sysvinit put it
in /etc/inittab, not in /etc/init.d/S0whateverwpa_supplicant.
If, like me, you're willing to be disloyal to your distro, you can
start up your network trivially.
SteveT
Steve Litt
July 2017 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
I'll have a go at your and Svante's suggestions probably on Sunday
evening. Saturday and Sunday I will be putting my Harley back together
and going for a ride.
DaveT
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng