x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Linux Kernel 4.9 and a (not so) happy Jornada 720

« Prev ... 8 9 10 11 12 13 14 15 16 17 18 19 Next »
ArchiMark Page Icon Posted 2020-12-07 3:40 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,200
Location:
Silicon Valley
Status:
Hi,

Just to make sure I am doing it correctly.....

In the wpa_supplicant.conf file:

Do I put quote marks around the ssid name or not?

Also put quote marks around the psk password or not?


Thanks,

Mark
 Top of the page
_dev-null Page Icon Posted 2020-12-07 6:15 PM
#
Avatar image of _dev-null
Subscribers
Factorite (Elite)

Posts:
208
Location:
Austria
Status:
Hi Mark!
Yes, with quote marks!

Regards
Stefan
 Top of the page
ArchiMark Page Icon Posted 2020-12-07 8:07 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,200
Location:
Silicon Valley
Status:
Quote
_dev-null - 2020-12-07 10:15 AM

Hi Mark!
Yes, with quote marks!

Regards
Stefan


Thanks for confirming, Stefan!

Meanwhile, at work now, so, trying to get connected to guest network using the 'unencryptwifi.sh' script.

And getting a bit confused as what to do to get WiFi working/connected....


First checked with:

 
# iwconfig 
lo no wireless extensions

wlan 1 no wireless extensions

dummy0 no wireless extensions


Then

 
# ifconfig
dummy0: flags=195<UP, BROADCAST, RUNNING, NOARP> mtu 1500
ether 3e:fc:80:e3:8b:59 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 29 bytes 9918 (9.6 KiB)
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
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



Then

 
# iw dev
phy#0
interface wlan1
wdev 0x1
addr 00:10:7a:75:60:f5
type managed



If I do:

# ip a
1: lo:

2: dummy0: <BROADCAST, NOARP, UP, LOWER_UP>

3: wlan1: <NO-CARRIER, BROADCAST, MULTICAST, UP>


So, is my WiFi card using dummy0 or wlan1 or ?


Which one mentioned in the two scripts (unencrypwifi.sh & wpaencryptwifi.sh)?

Trying the unencryptwifi.sh script, I get:

 
#
Error for wireless request "Set ESSID" (8B1A)
Set failed on device dummy0 ; Operation not supported.
Listening on LPF/wlan1/00:10:7a:75:60:f5
Sending on LPF/wlan1/00:10:7a:75:60:f5
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.



Any suggestions????

Thanks!




Edited by ArchiMark 2020-12-07 8:08 PM
 Top of the page
ArchiMark Page Icon Posted 2020-12-08 5:39 AM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,200
Location:
Silicon Valley
Status:
At home, tried connecting to WPA network....no go......




Noticed both power and link green indicator lights on Ambicom card are lit, but link light is solid green, not blinking. Is it supposed to be solid or blinking light?


Also, since this afternoon, when I do

 
# shutdown now 


nothing happens, does not shutdown like it used to.

?

Thanks.

Edited by ArchiMark 2020-12-08 5:41 AM
 Top of the page
_dev-null Page Icon Posted 2020-12-08 10:05 AM
#
Avatar image of _dev-null
Subscribers
Factorite (Elite)

Posts:
208
Location:
Austria
Status:
Hi!
You cant use iwconfig with the libertas driver. You need to use iw! https://wiki.debian.org/WiFi/HowToUse#Command_Line
The best way to connect to a wifi is by editing the /etc/network/interfaces.

I never tried to connect to an unecrypted wifi, i will try this if i find time and write a little tutorial.

For shutdown try shutdown -h now. Or press CRTL + ALT + DEL

Regards
Stefan
 Top of the page
_dev-null Page Icon Posted 2020-12-08 12:51 PM
#
Avatar image of _dev-null
Subscribers
Factorite (Elite)

Posts:
208
Location:
Austria
Status:
Sorry there is some wrong information in my post! You can use iwconfig!!
 Top of the page
ArchiMark Page Icon Posted 2020-12-08 4:25 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,200
Location:
Silicon Valley
Status:
Thanks, Stefan....

At work again....

Tried connecting to guest network using the 'unencryptwifi.sh' script from post back about 6 pages or so.....

Also tried with:

 
# iwconfig wifi0 essid "Your_SSID_without_quotes" mode Managed   

Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan1 : Operation not supported.



I searched the Error message and saw that a lot of people have gotten that error. But so far none of the suggested fixes have worked.

For reference, here's some info about 'wlan1':

 
# ifconfig
wlan1: flags=4099<UP, BROADCAST, RUNNING> mtu 1500
ether 00:10:7a:75:60:f5 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

# iwconfig wlan1
wlan1 no wireless extensions




Any suggestions?

Thanks.

 Top of the page
_dev-null Page Icon Posted 2020-12-08 5:54 PM
#
Avatar image of _dev-null
Subscribers
Factorite (Elite)

Posts:
208
Location:
Austria
Status:
Ok, it seems that we can't use iwconfig with this card, tried it and it also doesnt work for me.
A post from another forum:

"It sounds like either your kernel or the driver for the wireless interface will only support the newer cfg80211 configuration interface used by the iw tool, not the older wireless-extensions interface used by iwconfig."

If I find time, I will figure out a solution. But before I have to recompile CRDA to set the correct country code ...

Stefan
 Top of the page
ArchiMark Page Icon Posted 2020-12-08 6:29 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,200
Location:
Silicon Valley
Status:
Thanks for your help, Stefan,

Well at least I know it's not about me........I think......




And won't spend more hours getting aggravated over this now....


 Top of the page
joval Page Icon Posted 2020-12-15 2:24 PM
#
Avatar image of joval
Subscribers
H/PC Sensei

Posts:
1,014
Location:
Northern California
Status:
Quote
_dev-null - 2020-02-21 5:47 AM

Short update on the Kernel 4.8.7 and Debian 9 on the Jornada:

- I think i found out why the system is always freezing under load. It is a bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1833281
If i disable swap, the system doesnt crash or freeze. But due to very low RAM on the Jornada, the OOM killer runs quite often and kills applications. I try to find a solution for this

Bye
Stefan


What advantage is there running the newer 4.8.7 kernal over the 3.16.xx if any? Faster? More secure? Runs newer applications? How does this compare to the JLime 2.9? kernal? ( Not meaning to pester you ).See...now you have me learning about kernals!

About the Ambicom WL54 version 2.1 wifi cards...still a "potential"viable option for J720/Duvean?
Thanks in advance.
 Top of the page
joval Page Icon Posted 2020-12-15 3:36 PM
#
Avatar image of joval
Subscribers
H/PC Sensei

Posts:
1,014
Location:
Northern California
Status:
 Top of the page
joval Page Icon Posted 2020-12-26 1:23 PM
#
Avatar image of joval
Subscribers
H/PC Sensei

Posts:
1,014
Location:
Northern California
Status:
Quote
timob0 - 2020-11-11 11:19 AM

Another thing I wanted to share is this:

You can install packages with apt to the CF card connected to the PC by using qemu and a systemd-container:
$ apt install qemu binfmt-support qemu-user-static systemd-container
Then, assuming your CF card is mounted at /media/CF

$ systemd-nspawn -D /media/CF
Now the filesystem from the CF card is mounted in the container and using qemu to run the binaries in there. In particular, apt-get install ... will work properly.
This way I put dosbox and other nice tools on it :-)


Merry Christmas!! and what a fine gift you have given above...I finally learned enough Debian/Linux to figure it out and it works great! I installed midnight commander and DOSBOX..super fast and simple. Truly a great Christmas gift!
 Top of the page
jornadur Page Icon Posted 2020-12-30 7:26 AM
#
Avatar image of jornadur
H/PC Newbie

Posts:
7
Location:
United States
Status:
I got a hold of a WL54-CF Rev. 2.1 card and got everything installed via a Linux laptop and qemu, but I don't see the card anywhere. The J720 definitely notices when I connect/disconnect the card while running Devuan and prints messages about pcmcia connect/disconnect.

Are there modules that need to be loaded as well? `lsmod` outputs nothing
 Top of the page
jornadur Page Icon Posted 2020-12-31 5:47 AM
#
Avatar image of jornadur
H/PC Newbie

Posts:
7
Location:
United States
Status:
Okay, got the above figured out (forgot to untar the kernel 3.18 modules onto my CF card). Now I'm stuck at the exact same place as ArchiMark where I can't get any DHCP offers from my router.

What's interesting is I can see in my router logs (running OpenWRT) that the card is in fact trying to connect (WPA2 network), but it seems that something may be malformed regarding the request:

 
Thu Dec 31 05:09:20 2020 daemon.info hostapd: wlan1: STA 00:10:7a:75:7e:b8 IEEE 802.11: authenticated 
Thu Dec 31 05:09:20 2020 daemon.info hostapd: wlan1: STA 00:10:7a:75:7e:b8 IEEE 802.11: Station tried to associate with unknown SSID ''


Unfortunately, that's as far as I can get. I've tried looking through the source code of hostapd to get more insight, but unfortunately it's not particularly helpful. Not sure it's worth the hassle of trying to debug this with wireshark
 Top of the page
timob0 Page Icon Posted 2021-01-02 1:48 AM
#
Avatar image of timob0
Factor Fanatic

Posts:
64
Location:
Germany
Status:
Hi jornadur,

I think once you got the modules loaded properly, you should be seeing the wlan or wifi device listed in iwconfig. If thats the case, then you need to setup “wpa_supplicant” and once that works put the dhcp client on top of that. I found the below article from ubuntu wiki helpful to sort things out:

https://translate.google.com/translate?hl=&sl=de&tl=en&u=https%3A%2F...

Note: If the card won’t associate with the access point despite correct key etc in the conf file, the card might need a FW update. If it’s a prism2 based card, the procedure is outlined here:
https://www.omegamoon.com/blog/comments.php?y=09&m=08&entry=entry090...

Kind regards
timo
 Top of the page
« Prev ... 8 9 10 11 12 13 14 15 16 17 18 19 Next »
Jump to forum:
Seconds to generate: 0.219 - Cached queries : 52 - Executed queries : 29