Did clean install of Talking Debian, No Internet.

Linux for blind general discussion blinux-list at redhat.com
Mon Sep 17 03:37:31 UTC 2018


Okay, your wifi is wlp2s0 and your ethernet is enps30.
If you have the ip program on that machine ip set link followed by one
of those two strings followed by a space and the word up ought to bring
one of them up for you.  After that, you'll want to find a working
example of /etc/network/interfaces and if that file isn't on your
machine create it or if it is on your machine adjust it.

There is another way though.
I wrote some steps that need to be run before doing first boot on an
installation that might help:

Command Debian Wifi setup

Introduction:

If you set up a debian command line system with wifi and need an
internet connection this article will help.

Prepare:

Run a debian install up to finish the installation step but don't
do that step yet.  The installer ought to have downloaded packages
using your existing wifi network connection.  If all of that has
happened
      and you have your ssid and wifi password available you're
ready to do a secure wifi installation.

Wifi Install:

1. Get to debian main menu hit < then hit enter,

2.  A numbered menu should appear so type 23 <enter> <enter>
	to get a shell prompt,

3.  type mount -t ext4 /dev/sda1 /mnt <enter>

4. type:
	cp /etc/network/interfaces /mnt/etc/network/interfaces.sav
	<enter>

5.  It's time for a new shell so type chroot /mnt /bin/bash <enter>,

6. Type ex /etc/network/interfaces.sav <enter>

7. type p <enter> you should see your original wifi passphrase
	with some text to its left and probably that will be line
	14 so let's fix that, type d <enter> then type x <enter>
	to remove the line and save the file,

8. type wpa_passphrase <essid> <passphrase of wifi network> >file1
<enter>,

9. type ex file1 <enter> we do transforms on this file first,

10. type ?psk <enter> and line 4 should show up,

11. type .,.wfile2 <enter>,

12. type q <enter> type rm file1 <enter>,

13. type ex file2 <enter>,

14. type .,./psk/wpa-psk/ <enter>,

15. type .,./=/ "/ <enter>,

16. type .,.s/$/"/ <enter>,

17. type x <enter>,

18. type ex /etc/network/interfaces.sav <enter>,

19. type r file2 <enter>,

20. type x <enter>,

21. type rm file2 <enter>,
	cp /etc/network/interfaces.sav /etc/network/interfaces then
	reboot,

22. You just patched /etc/network/interfaces.sav so now it's time
to exit
       and finish the installation, so type exit <enter> to leave
	chroot environment,

23. type cd / <enter> type umount /mnt <enter>, type exit <cr>,
and

24. type 19 <enter> to finish debian's idea of an installation.

25. when system reboots and you're logged in, take your privileges
up to root level,

26. type cp /etc/network/interfaces.sav /etc/network/interfaces,

27. reboot system and log in,

28. test network connectivity type ping -a -c 5 www.google.com,
<enter>,

29. If mesages come up on screen about bytes transferred, and you
	hear 5 beeps, you have a connected wifi network with secure
	password.  Prove it type tail -1 /etc/network/interfaces.
	and I don't think you'll be looking at the password you
	keyed in to connect debian to wifi so it could start
	installing your system.
On Sun, 16 Sep
2018, Linux for blind general discussion wrote:

> Date: Sun, 16 Sep 2018 16:17:28
> From: Linux for blind general discussion <blinux-list at redhat.com>
> To: blinux-list at redhat.com
> Subject: Re: Did clean install of Talking Debian, No Internet.
>
> Here's the content of /etc/resolve.conf on the machine giving gme problems:
>
> search nc.rr.com
> nameserver 209.18.47.61
> nameserver 209.18.47.62
>
> comparing it to the resolve.conf on my main machine, which is working,
> the biggest difference seems to be that on my main machine, the word
> search is replaced by domain and there are a few comments added to the
> file.
>
> Also, here's the output of networkctrl on the problem machine:
>
> IDX LINK             TYPE               OPERATIONAL SETUP
>   1 lo               loopback           n/a         unmanaged
>   2 enp3s0           ether              n/a         unmanaged
>   3 wlp2s0           wlan               n/a         unmanaged
>
> 3 links listed.
>
>
>

-- 




More information about the Blinux-list mailing list