LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how to start network connections from installation DVD (https://www.linuxquestions.org/questions/slackware-14/how-to-start-network-connections-from-installation-dvd-4175611530/)

mfoley 08-07-2017 11:31 PM

how to start network connections from installation DVD
 
I want to restore backup from a network location to a fresh system booted from the installation DVD. ifconfig shows my NICs. There is no /etc/rc.d/rc.inet1.conf. How do I connect to the network? Just doing `ifconfig eth0 192.168.0.3` doesn't work. Ideally, I'd like to solicit an IP from a LAN dhcp server. How?

Alien Bob 08-08-2017 01:22 AM

Try running the command "network" after booting into the installer.

mfoley 08-09-2017 11:18 AM

Quote:

Originally Posted by Alien Bob (Post 5745825)
Try running the command "network" after booting into the installer.

Thanks, but that doesn't do it. `network` allows me to probe for a card/driver and install the driver module, but it doesn't actually solicit an IP address from a DHCP server. I was already that far and had my NICs showing as configured. After finding and possibly loading the driver, the `network` script advises to then run the `setup` program, but that configures rc.inet1.conf on the to-be-installed hard drive.

That's not what I'm looking for. I don't want to actually INSTALL Slackware on the hard drive. I want to restore a backed-up system to the hard drive from the network, so I'd like to get a network connection when booted from the installation DVD.

Without a network connection, I have to copy the backup file to a USB and plug that into the DVD-booted computer. That is doable, and that's how I've always done it, but it's inconvenient.

Is there a way to connect to a network when booted from the installation DVD?

Alien Bob 08-09-2017 01:02 PM

Well, after running "network" you should have a functional wired network interface (wireless is not supported in the installer), and all you need to do when the program ends is running "/sbin/dhcpcd $INTF" where $INTF would be the actual name of that interface.
After that, you will have network connectivity.

dugan 08-09-2017 01:56 PM

Doesn't this work?

Code:

dhcpcd eth0

mfoley 08-09-2017 06:57 PM

YES!! That worked! Thanks a lot. That will save me a lot of time in the future.

Alien Bob 08-10-2017 02:49 AM

You could also consider downloading one of the ISOs for my Slackware Live Edition. The XFCE variant is only 700 MB, fits on a CDROM and it boots you into a graphical environment with network connectivity, including wireless. It would allow you to multitask your backup activities into multiple graphical terminals.

bassplayer69 08-10-2017 07:33 AM

In that case, other distributions such as System Restore CD or GParted CD would serve the same purpose and provide more functionality in that discipline.

Gordie 08-10-2017 10:21 AM

Quote:

Originally Posted by bassplayer69 (Post 5746682)
In that case, other distributions such as System Restore CD or GParted CD would serve the same purpose and provide more functionality in that disciple.

I have tried out System Restore CD and found it not any better than a Slackware DVD. Alien Bob's live DVD has gparted installed and is great for a Slacker to use for data recovery as it has wifi.

EDIT - System Restore CD is really named System Rescue CD. I was not impressed with its usefulness for a Slackware system.

bassplayer69 08-10-2017 05:05 PM

Quote:

Originally Posted by Gordie (Post 5746728)
I have tried out System Restore CD and found it not any better than a Slackware DVD. Alien Bob's live DVD has gparted installed and is great for a Slacker to use for data recovery as it has wifi.

EDIT - System Restore CD is really named System Rescue CD. I was not impressed with its usefulness for a Slackware system.

Thanks. That's good to know.


All times are GMT -5. The time now is 01:56 PM.