View previous topic :: View next topic |
Author |
Message |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Thu Apr 30, 2020 7:03 pm Post subject: |
|
|
donjames,
Probably but I've never tried?
Maybe with Code: | /etc/conf.d/consolefont | ?
See the comments. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Thu Apr 30, 2020 7:16 pm Post subject: Installing Gentoo on raspberry pi. |
|
|
NeddySeagoon,
No problem. I can ssh into the Pi from another computer.
Thanks,
donjames |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Thu Apr 30, 2020 10:08 pm Post subject: |
|
|
donjames,
I have a Pi 2 booting an April 2020 armv7 Gentoo on top of the 4.19.118v7+ Foundation kernel.
I didn't get it quite right. I forgot to add a password hash to /etc/shadow, so I can't log in. :)
I wasn't expecting it to boot first time, so I didn't bother connecting a mouse, keyboard or network cable.
I will set the root password and add --noclear to /etc/inttab, so the console messages stay on the screen when the login prompt appears.
That's for Friday night my time.
-- edit --
Its fixed. I'll write some instructions and host it Friday night. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Fri May 01, 2020 9:27 pm Post subject: |
|
|
donjames,
There has been a delay. I've managed to destroy the server install where I wan going to host this stuff.
Its still up but it will never reboot. The LVM2 label on the physical volume is gone, so I can't remount any of the filesystems any more.
Once I've done the salvage operation, I'll host your stuff there. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Fri May 01, 2020 9:45 pm Post subject: Installing Gentoo on raspberry pi. |
|
|
NeddySeagoon,
I understand. I'm not in a hurry. Take your time and do it right.
I do appreciate your help.
By the way, I rent space on a public ftp server for my website. It is unlimited everything. I created an account for you so that you can upload files:
Username: NeddySeagoon@test.donaldbjames.info
Host name: test.donaldbjames.info
Password: [Removed by Hu - posting passwords publicly is asking for trouble. Try sending it via private message instead.]
Let me know if this will work for you.
My email address: donaldbjames@gmail.com
Regards,
donjames |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Fri May 01, 2020 11:47 pm Post subject: |
|
|
donjames,
Google indexes the forum. In less than 24 hours, that account will be full of unsavoury material.
Delete the account and all the files that were uploaded there.
FTP works for me. Its been a while.
Set up a new account, with a new password.
PM here works, as does email.
Don't put all the credentials in the same email unless you encrypt the email with my gpg key. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Sat May 02, 2020 12:46 am Post subject: Installing Gentoo on raspberry pi. |
|
|
NeddySeagoon,
I sent you the password for my ftp site.
Let me know if it works.
regards,
Don James |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Sat May 02, 2020 4:58 pm Post subject: |
|
|
donjames,
Its here
Its a bzip2ed image of a 4G SD card that boots for me.
unbzip2 it and dd it to any 4G or larger SD.
There is only about 2G used. There is a 128Mb boot and 2G root. No swap as its not intended to be used much.
Its an unofficial April 2020 Gentoo arm7a stage3 on top of the current Foundation kernel.
The root pass is raspberry.
There is nothing extra and nothing configured.
I did make a couple of changes to /etc/inittab to fix things that annoy me.
See the comments. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Sat May 02, 2020 8:40 pm Post subject: Installing Gentoo of raspberry pi. |
|
|
NeddySeagoon,
Can't get the darn thing to boot. The red light is steady and the green light flashes for a minute and then goes off.
I formatted the sd card before I loaded the disk image. Used S D Card Formatter to format the card and balenaEtcher to write the image to the sd card.
Any suggestions?
Thanks,
Don James |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Sat May 02, 2020 11:58 pm Post subject: |
|
|
donjames,
There is no need to format the SD card. The formatting is included in the image at no extra charge :)
The image is compressed. You must uncompress it before it is written to the card.
You write the image with dd in linux.
If the green light flashed like that. you should have got the rainbow, at least.
That image will not start networking or sshd. That will be the next step. Make ssh work and try to log in over the network.
Just in case its all working perfectly well but your console is using black text on a black background. :)
I'll try and fix that during my morning on Sunday.
HDMI is supposed to be auto detected. Read about Video options in config.txt
and try in the config.txt _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Sun May 03, 2020 12:59 am Post subject: Installing Gentoo on raspberry pi. |
|
|
NeddySeagoon,
It booted in text mode! It only took a few seconds to boot.
No ethernet. Got to figure out how to turn on the ethernet.
Can you tell me where the instructions are for configuring the ethernet with a static ip?
Regards,
Don James |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Sun May 03, 2020 9:51 am Post subject: |
|
|
donjames,
The setup follows the Gentoo handbook. That's arch independent.
You will want to fix the SD Card partitioning before you do much more.
The image is 4G because I put it onto a 4G SD card to test. It has almost 2G of unpartitioned space.
As its a 4G image, regardless of the size of the SD card you put it on, the partition table will never show more that 4G of space.
There is no ::gentoo repo installed and it probably won't fit in the remaining space on the root filesystem either.
The steps to fix that are rather scary and there are tools to do it too.
What you have there is the stage3 and the Foundation kernel from the firmware repo at commit 20354bebcc2a8448128f2348e19e155910d25122. I didn't need to build the kernel as it already had Code: | [*] Simple Framebuffer |
I put those two together, edited /etc/inittab and set a root password.
It was only intended to be a proof of concept, not a work in progress that you can complete.
If you want to build on it you can. There are two ways you do the scary steps above by hard or with a tool.
You copy the contents of the two filesystem to another SD card that you partition and format. To use the same SD card, you need to save everything somewhere. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Sun May 03, 2020 5:05 pm Post subject: Installing Gentoo of raspberry pi. |
|
|
NeddySeagoon,
I got the ethernet to work and noticed that I couldn't do an emerge. Thanks for the help with getting the ethernet working.
You mentioned tools to help create a real, working gentoo on the pi2. Where are those tools?
I really need detailed instructions for doing this.
Regards,
Don James.
NeddySeagoon wrote: | donjames,
The setup follows the Gentoo handbook. That's arch independent.
You will want to fix the SD Card partitioning before you do much more.
The image is 4G because I put it onto a 4G SD card to test. It has almost 2G of unpartitioned space.
As its a 4G image, regardless of the size of the SD card you put it on, the partition table will never show more that 4G of space.
There is no ::gentoo repo installed and it probably won't fit in the remaining space on the root filesystem either.
The steps to fix that are rather scary and there are tools to do it too.
What you have there is the stage3 and the Foundation kernel from the firmware repo at commit 20354bebcc2a8448128f2348e19e155910d25122. I didn't need to build the kernel as it already had Code: | [*] Simple Framebuffer |
I put those two together, edited /etc/inittab and set a root password.
It was only intended to be a proof of concept, not a work in progress that you can complete.
If you want to build on it you can. There are two ways you do the scary steps above by hard or with a tool.
You copy the contents of the two filesystem to another SD card that you partition and format. To use the same SD card, you need to save everything somewhere. |
|
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Sun May 03, 2020 5:16 pm Post subject: |
|
|
donjames,
You need to expand the partition table to describe your entire SD card. Its only 4G just naw.
Then resize the root partition. I think parted can do that.
Then run resize2fs on the root filesystem to make it fill the partition.
You can do all this in a PC.
Once that's done you will have space for the ::gentoo repo, which will provide profiles for you to choose and the ebuilds for you to emerge.
Start in the handbook with the portage snapshot. That's after your SD card is fixed. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Sun May 03, 2020 7:58 pm Post subject: |
|
|
NeddySeagoon,
I fixed my SD card.
I am not sure where to go from here.
"Start in the handbook with the portage snapshot. " makes no sense to me because the handbook has no procedure for installing gentoo on the ARM processor.
Regards,
Don James
NeddySeagoon wrote: | donjames,
You need to expand the partition table to describe your entire SD card. Its only 4G just naw.
Then resize the root partition. I think parted can do that.
Then run resize2fs on the root filesystem to make it fill the partition.
You can do all this in a PC.
Once that's done you will have space for the ::gentoo repo, which will provide profiles for you to choose and the ebuilds for you to emerge.
Start in the handbook with the portage snapshot. That's after your SD card is fixed. |
|
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Sun May 03, 2020 10:20 pm Post subject: |
|
|
donjames,
Most of the handbook is architecture agnostic, so you can use any handbook you like.
Its up to you to spot the architecture specific bits.
Start reading at that link but don't do any of it.
That's about the stage3 and is already done.
The CFLAGS and CXXFLAGS are architecture specficic.
Start here
When you get to Code: | eselect profile list | you will get arm profiles, not amd64 ones. Choose one that best fits your use case.
Skip the kernel as its done.
Follow the next two pages, then skip the boot loader as the Pi does not need one.
Finish with Finalising _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Mon May 04, 2020 7:05 am Post subject: |
|
|
NeddySeagoon,
I got it installed and it boots!
Thank you so much for your help.
Now, I have to figure out how to get the wireless working.
Regards,
Don James
NeddySeagoon wrote: | donjames,
Most of the handbook is architecture agnostic, so you can use any handbook you like.
Its up to you to spot the architecture specific bits.
Start reading at that link but don't do any of it.
That's about the stage3 and is already done.
The CFLAGS and CXXFLAGS are architecture specficic.
Start here
When you get to Code: | eselect profile list | you will get arm profiles, not amd64 ones. Choose one that best fits your use case.
Skip the kernel as its done.
Follow the next two pages, then skip the boot loader as the Pi does not need one.
Finish with Finalising |
|
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Mon May 04, 2020 8:40 am Post subject: |
|
|
donjames,
As the Pi2 does not have WiFi, plug the dongle into a USB port then run
If the wifi is there the hard bit is done.
WiFi setup is well covered on the Wiki.
If does not list your WiFi, its a lot harder.
Post the output of so we can see the WiFi you have.
Wifi at the USB end is architecture independent, so if it works in your PC, the same steps will make it work on the Pi.
Wifi will want up to 500mA from the Pi. that's sometimes a problem, depending on your Pi PSU.
Keep an eye on the Red LED, look out for resets and corrupted filesystems. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Tue May 05, 2020 1:02 am Post subject: |
|
|
NeddySeagoon,
Here ya go:
Code: | ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.94 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::ba27:ebff:fe46:aa6 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:46:0a:a6 txqueuelen 1000 (Ethernet)
RX packets 136845 bytes 58857314 (56.1 MiB)
RX errors 0 dropped 55 overruns 0 frame 0
TX packets 95341 bytes 27164323 (25.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 3c:8c:f8:fb:4a:cf txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::76da:38ff:fe5b:7d08 prefixlen 64 scopeid 0x20<link>
ether 74:da:38:5b:7d:08 txqueuelen 1000 (Ethernet)
RX packets 40112 bytes 5593816 (5.3 MiB)
RX errors 0 dropped 8332 overruns 0 frame 0
TX packets 100 bytes 11947 (11.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
gentooonthepi /home/don #
|
Code: | lsusb
Bus 001 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 006: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 005: ID 2188:0ae1
Bus 001 Device 007: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
gentooonthepi /home/don #
|
Code: | ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::76da:38ff:fe5b:7d08 prefixlen 64 scopeid 0x20<link>
ether 74:da:38:5b:7d:08 txqueuelen 1000 (Ethernet)
RX packets 40840 bytes 5702239 (5.4 MiB)
RX errors 0 dropped 8451 overruns 0 frame 0
TX packets 103 bytes 12220 (11.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
Looks like the pi is talking to my wireless adapter. The wireless adapter does work with Ubuntuand Raspbian.
i have attempted to configure wpa_supplicant, but can't seem to get it to work. I attempted to configure it with a static ip address.
Code: | cat wpa_supplicant.conf
##Force the use of wpa_supplicant /etc/conf.d/net
# Prefer wpa_supplicant over wireless-tools in /etc/conf.d/net
# modules="wpa_supplicant"
# Note
# When using the host-ap driver it is necessary to put the card in Managed
# Somewhat simplified example
# The code below is from /etc/wpa_supplicant/wpa_supplicant.conf
# The below line not be changed otherwise wpa_supplicant refuses to work
ctrl_interface=/var/run/wpa_supplicant
# Ensure that only root can read the WPA configuration
ctrl_interface_group=0
# Let wpa_supplicant take care of scanning and AP selection
ap_scan=1
# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphe>
network={
ssid="livingroom"
psk="abcdeabcde"
# The higher the priority the sooner we are matched
priority=5
}
# Same as previous, but request SSID-specific scanning (for APs that reje># broadcast SSID)
network={
ssid="livingroom"
scan_ssid=1
psk="adbcdeabcde"
priority=2
}
# Only WPA-PSK is used. Any valid cipher combination is accepted
network={
ssid="livingroom"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac7bb
priority=2
}
# Plaintext connection (no WPA, no IEEE 802.1X)
network={
ssid="livingroom"
key_mgmt=NONE
}
# Shared WEP key connection (no WPA, no IEEE 802.1X)
network={
ssid="livingroom"
key_mgmt=NONE
# Keys in quotes are ASCII keys
wep_key0="abcde"
# Keys specified without quotes are hex keys
wep_key1=0102030405
wep_key2="1234567890123"
wep_tx_keyidx=0
priority=5
}
gentooonthepi /etc/wpa_supplicant #
|
Code: | cd /etc/conf.d
gentooonthepi /etc/conf.d # cat net
config_eth0="192.168.1.94/24"
routes_eth0="default via 192.168.1.1"
dns_servers_eth0="192.168.1.1 8.8.8.8"
config_eth1="192.168.1.95/24"
routes_eth1="default via 192.168.1.1"
dns_servers_eth1="192.168.1.1 8.8.8.8"
config_wlan0="192.168.1.97/24"
routes_wlan0="default via 192.168.1.1"
dns_servers="192.168.1.1 8.8.8.8"
iwconfig_eth0="mode managed"
modules="wpa_supplicant"
|
Looks like wlan0 grabbed an inet6 address, but not an inet address.
What am I doing wrong?
Regards,
donjames
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
 |
qwerjkl n00b

Joined: 17 Sep 2018 Posts: 6
|
Posted: Tue May 05, 2020 6:58 am Post subject: |
|
|
Are you running any dhcp client service? If so try restarting it. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Tue May 05, 2020 7:28 pm Post subject: |
|
|
donjames,
Did you install the firmware for the WiI?
Its in /lib/firmware/rtlwifi and is provided by linux-firmware.
Some wifi interfaces appear in ifconfig without the firmware being loaded but its a case of the lights are on but there is nobody there.
Given that the firmware loads, dmesg will tell you all about it if fails, wpa-supplicant can do its thing.
Bringing up a WiFi interface is a two stage process.
Use wpa-supplicant to get the radio link both associated and authenticated. Once that's done, the usual Ethernet tools are used to configure the interface.
dmesg will tell what wpa-supplicant did, or failed to do.
Please put it onto a pastebin.
Its good to have the configuration file you posted above. We also need to know what happened when the system tried to use them. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Sat May 09, 2020 7:31 pm Post subject: |
|
|
NeddySeagoon,
Yes, I think the firmware got installed.
RASPBERRY PI 2 RUNNING GENTOO:
lsusb
Bus 001 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 006: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 005: ID 2188:0ae1
Bus 001 Device 007: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
This is from dmesg:
rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[ 17.893944] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[ 17.896549] usbcore: registered new interface driver rtl8192cu
[ 17.972576] Error: Driver 'rtl8192cu' is already registered, aborting..
The entire dmesg output is here: https://pastebin.com/T98EuX0e
Regards,
Don James
NeddySeagoon wrote: | donjames,
Did you install the firmware for the WiI?
Its in /lib/firmware/rtlwifi and is provided by linux-firmware.
Some wifi interfaces appear in ifconfig without the firmware being loaded but its a case of the lights are on but there is nobody there.
Given that the firmware loads, dmesg will tell you all about it if fails, wpa-supplicant can do its thing.
Bringing up a WiFi interface is a two stage process.
Use wpa-supplicant to get the radio link both associated and authenticated. Once that's done, the usual Ethernet tools are used to configure the interface.
dmesg will tell what wpa-supplicant did, or failed to do.
Please put it onto a pastebin.
Its good to have the configuration file you posted above. We also need to know what happened when the system tried to use them. |
|
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Sat May 09, 2020 8:43 pm Post subject: |
|
|
donjames,
Code: | [ 29.110857] wlan0: authenticate with d4:ca:6d:a6:5d:29
[ 29.139222] wlan0: send auth to d4:ca:6d:a6:5d:29 (try 1/3)
[ 29.143598] wlan0: authenticated
[ 29.147585] wlan0: associate with d4:ca:6d:a6:5d:29 (try 1/3)
[ 29.154512] wlan0: RX AssocResp from d4:ca:6d:a6:5d:29 (capab=0x431 status=0 aid=2)
[ 29.260649] wlan0: associated |
That worked. That's wlan0 authenticated and associated, so the kernel is fine, wpa_supplicant did its thing but I don't see wlan0 getting its network settings.
Is it in with an address?
What does do?
That should set up wlan0 and it will work until its lease expires. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
donjames Apprentice


Joined: 19 Dec 2004 Posts: 251 Location: 32°9'50" N 94°50'54" W
|
Posted: Sat May 09, 2020 10:04 pm Post subject: |
|
|
NeddySeagoon,
Code: | dhcpcd wlan0
wlan0: connected to Access Point `livingroom'
DUID 00:01:00:01:26:49:da:35:74:da:38:5b:7d:08
wlan0: IAID 38:5b:7d:08
wlan0: probing address 192.168.1.96/24
wlan0: soliciting an IPv6 router
wlan0: using static address 192.168.1.96/24
wlan0: adding route to 192.168.1.0/24
wlan0: adding default route via 192.168.1.1
forked to background, child pid 2034 |
i Code: | fconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.94 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::ba27:ebff:fe46:aa6 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:46:0a:a6 txqueuelen 1000 (Ethernet)
RX packets 351 bytes 32288 (31.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 87 bytes 11631 (11.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 3c:8c:f8:fb:4a:cf txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 58 bytes 4912 (4.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 58 bytes 4912 (4.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.96 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::76da:38ff:fe5b:7d08 prefixlen 64 scopeid 0x20<link>
ether 74:da:38:5b:7d:08 txqueuelen 1000 (Ethernet)
RX packets 1393 bytes 208062 (203.1 KiB)
RX errors 0 dropped 350 overruns 0 frame 0
TX packets 30 bytes 3014 (2.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
raspberry /home/don #
Code: | /etc/dhcpcd.conf is
GNU nano 4.6 dhcpcd.conf
interface eth0
static ip_address=192.168.1.94
static routers=192.168.l.1
static domain_name_servers=192.168.1.1
interface wlan0
static ip_address=192.168.1.96
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
|
When I try to ping to the router:
ping 192.168.1.1
It responds with 100% packet loss.
ping google.com
It responds with 100% packet loss.
When I do:
ping google.com
It comes back with Temporary failure in name resolution.
ping 192.168.1.1
Host unreachable
What am I doing wrong?
Thanks,
Don James
Code tags added by NeddySeagoon
NeddySeagoon wrote: | donjames,
Did you install the firmware for the WiI?
Its in /lib/firmware/rtlwifi and is provided by linux-firmware.
Some wifi interfaces appear in ifconfig without the firmware being loaded but its a case of the lights are on but there is nobody there.
Given that the firmware loads, dmesg will tell you all about it if fails, wpa-supplicant can do its thing.
Bringing up a WiFi interface is a two stage process.
Use wpa-supplicant to get the radio link both associated and authenticated. Once that's done, the usual Ethernet tools are used to configure the interface.
dmesg will tell what wpa-supplicant did, or failed to do.
Please put it onto a pastebin.
Its good to have the configuration file you posted above. We also need to know what happened when the system tried to use them. |
|
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47143 Location: 56N 3W
|
Posted: Sat May 09, 2020 10:37 pm Post subject: |
|
|
donjames,
That looks OKish.
Having two interfaces in the same subnet is a bad thing.
The output of route will be interesting.
Save it before you follow the rest of this post.
For testing, edit /etc/rc.conf and set Code: | rc_depend_strict="NO" |
Read the comment and understand what it does.
You will need to uncomment it.
Stop eth0 and I would expect WiFi to work.
Any one at a time should work. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|