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 ... 3 4 5 6 7 8 9 10 11 12 13 14 ... Next »
ArchiMark Page Icon Posted 2020-10-09 12:15 AM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Thanks again for your help, ntware.

I forgot mention in post above yours, that I did open X and then xterm. That's where I could not scroll as per what I tried as per my post above yours.

I shutdown 720 after my last post. Next time I try using Devuan, I'll try your suggestions.

Hope I can get the yellow characters working soon......so, I can get wifi working, etc.

 Top of the page
hpcboy Page Icon Posted 2020-10-09 1:04 AM
#
Avatar image of hpcboy
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
I'll dive in anytime soon after I transplant an English keyboard on my 720.

Here are things in my wish list:
- Modules for bluetooth CF. I know it's slower than wifi, but it's less power hungry, more versatile (transferring files), easy to setup (pairing up with any device, using tethered network), less likely to drag down local network in mixed mode.
- Cross toolchain for creating (new) packages optimized for this frugal setup
 Top of the page
_dev-null Page Icon Posted 2020-10-09 8:41 AM
#
Avatar image of _dev-null
Subscribers
Factorite (Elite)

Posts:
208
Location:
Austria
Status:
Hi Mark!
I am sorry, I forgot to mention that the Fn key and the yellow symbols are not working. I found no comfortable solution to edit the keyboard layout.
Maybe if i have more time, i will dive into this!

Mark, for now you can create this file on your desktop computer and copy it over to the cf card.

@hpcboy if you tell me the name of your CF Bluetooth card, i can compile a module (if there are drivers available)
A toolchain should be no problem since it is armel - eabi

Regards
Stefan
 Top of the page
hpcboy Page Icon Posted 2020-10-09 11:58 AM
#
Avatar image of hpcboy
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
Thanks, Stefan, again for your constant effort. Not meaning to divert your energy here. I also think wifi and keybindings should come first.
I have a couple of spare 728 ROM boards sitting in my chest. If you are looking for more for development or testing, I'd be happy to contribute some of my stock to the project.
 Top of the page
ArchiMark Page Icon Posted 2020-10-12 8:28 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Quote
_dev-null - 2020-10-09 12:41 AM

Hi Mark!
I am sorry, I forgot to mention that the Fn key and the yellow symbols are not working. I found no comfortable solution to edit the keyboard layout.
Maybe if i have more time, i will dive into this!


Understand, Stefan....thanks for letting me know!

Would be great if you can get this fixed sometime....


Quote


Mark, for now you can create this file on your desktop computer and copy it over to the cf card.


Regards
Stefan


Thanks for the tip.....should have thought of that.....


Any suggestion for setting up file to handle both my work and home network situations? See my prior post for descriptions.

Thanks,

Mark

 Top of the page
ArchiMark Page Icon Posted 2020-10-12 9:18 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
In meantime, I decided to try and set correct time and date in Devuan....

Did # dpkg-reconfigure tzdata.

It opened up the timezone window....was able to set locations; continent, city.....

Then below window it shows the location and time info on 3 lines.

But can't see any way to close the window to get back to console.

Have tried various key combos....

Wonder whether the 3 lines of text below the window is covering up buttons to save and exit?

Any suggestions?

Thanks,

Mark
 Top of the page
_dev-null Page Icon Posted 2020-10-13 8:34 AM
#
Avatar image of _dev-null
Subscribers
Factorite (Elite)

Posts:
208
Location:
Austria
Status:
Hi Mark!
For your two wifi networks i would make two configuration scripts. For example make a directory called scripts in your home directory and put two script files in it.

mkdir ~/scripts

Then create the script for the unencrypted network:
vi ~/scripts/unencrywifi.sh


with the followind content (adapt the SSID):
ip link set dev wifi0 up 
iwconfig wifi0 essid "your_ssid" mode Managed
dhclient -v wlan0




And a script for the one with WPA encryption:
vi ~/scripts/wpaencrywifi.sh


with the following content:
wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -B
dhclient wlan0

Additional you have to create the wpa_supplicant file:
vi /etc/wpa_supplicant/wpa_supplicant.conf


With this content (adapt ssid and key):

 
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root

eapol_version=1

ap_scan=1
network={
ssid="yourssid"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="yourkey"
}


Make the scripts executable (as root)
su - 
chmod +x /home/user/scripts/unencrywifi.sh
chmod +x /home/user/scripts/wpaencrywifi.sh


If the Jornada has booted up you can connect to the different networks, by starting the individual script as root.

su - 
/home/user/scripts/unencrywifi.sh

or
su - 
/home/user/scripts/wpaencrywifi.sh


For the one with the captive portal i would try to make the authentication with the lynx browser. Maybe it works, otherwise you can try to use X and the netsurf browser (slow).
lynx www.google.at

 Top of the page
_dev-null Page Icon Posted 2020-10-13 8:44 AM
#
Avatar image of _dev-null
Subscribers
Factorite (Elite)

Posts:
208
Location:
Austria
Status:
dpkg-reconfigure tzdata works for me without problems. Can you exit it with CRTL+C ?
Maybe it takes a while on 32MB RAM units.



Regards Stefan
 Top of the page
ArchiMark Page Icon Posted 2020-10-13 2:51 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Thank you, Stefan, for all your help!

I tried CTRL + C....maybe I needed to wait longer, but I thought I waited for a while....also, many other key combos....

Will try all that you suggest.....

Best,

Mark
 Top of the page
ntware Page Icon Posted 2020-10-13 9:11 PM
#
Avatar image of ntware
H/PC Elite

Posts:
660
Location:
Florida, US
Status:
Hi guys!

I just wanted to add support for a new wifi card in WPA. I recently got a Belkin F5D6020 PCMCIA WiFi card for cheap on eBay. I was excited to try it out because documentation says that it runs on a Prism2 chipset, which should be compatible. However, to my surprise the card that I bought was Belkin F5D6020 ver.2 which comes with the atmel chipset. How come? Both cards are identical, exact same model, just the version number that is different, and still the internal chipset used is completely different!

With that being said, I went to research and check if I could make that card work under Linux. I got the latest Kernel and modules compiled by Stefan on this thread. Installation instructions are simple, just replace the zImage file on the FAT partition and decompress (untar) the contents of modules31681.tar to /lib/3.16.81/ on the ext4 partition. Booting Linux again brought me a semi-working card. The correct atmel module was loaded, but when I tried to fire up the card, I got an error message about a firmware file missing. Turns out that proprietary firmware is not included in Devuan, so you gotta install them yourself. The easiest way is to enable the contrib non-free packages on apt and then use a working WiFi (or Ethernet) card to download the correct package. This is a step-by-step (do this as root):
 
nano /etc/apt/sources.list 
#Then under nano, edit all lines of your sources to add contrib non-free at the end, something like this:
deb http://deb.devuan.org/merged ascii main contrib non-free
deb http://deb.devuan.org/merged ascii-security main contrib non-free

After that, just run an “apt update” and wait a couple minutes (it took around 10 minutes on mine). Once you’ve updated your package list, install the required firmware by running
 
apt install atmel-firmware

Wait again for several minutes until it finishes doing its thing. Remember that you will need internet connection for this, so use a working WiFi or Ethernet card to download the package.

Once it is all done, you will still need to change a little detail to make the card work. Apparently, ip link dev is loading the wrong firmware file for the card, so you just need to create a symlink that points to the correct WPA-enabled firmware file for the Belkin card:
 
mv /lib/firmware/atmel_at76c502.bin /lib/firmware/atmel_at76c502.old
ln -s /lib/firmware/atmel_at76c502e-wpa.bin /lib/firmware/atmel_at76c502.bin

That’s it! After doing that, you can start the card with
 
ip link set dev eth0 up

and it will start blinking its lights. At the moment I’m installing wpa-supplicant and iwd to be able to configure and connect to WiFi networks through terminal, as Stefan mentioned. You can install these packets through apt on a working network connection:
 
apt install wpasupplicant iwd

I’ll post the results once these packets finish installing and I’m able to login to my WPA network.
 Top of the page
_dev-null Page Icon Posted 2020-10-14 8:52 AM
#
Avatar image of _dev-null
Subscribers
Factorite (Elite)

Posts:
208
Location:
Austria
Status:
Hi!
@ntware Thanks for testing out new hardware and find a solution to get it working!

In the meantime i tried to get a few games working. I had success in compiling prboom for Linux, after i changed a few lines of code.
The package libsdl1.2-dev has to be installed to compile the source code.
Instructions for compiling/installing are in the INSTALL file. Dont know how long it takes on a 32MB unit, better compile it in a chroot environment on your desktop ...
Here is the modified source code: http://www.sp-net.at/jornada/prboom.tar.gz


Stefan
 Top of the page
ArchiMark Page Icon Posted 2020-10-14 4:24 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Just tried getting connected to internet guest network at work using the 'unencryptedwifi' script.

When I run the script, I get the following:

Listening on LPF/wlan0/00:10:7a:71:56:47
Sending on LPF/wlan0/00:10:7a:71:56:47
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

When I try to ping, I get:

ping -c 4 8.8.8.8
connect: Network is unreachable


Any suggestions?

Thanks,

Mark
 Top of the page
stingraze Page Icon Posted 2020-10-15 12:00 AM
#
Avatar image of stingraze
H/PC Vanguard

Posts:
3,656
Location:
Japan
Status:
you seem to not be getting an IP address?

Maybe try ifconfig and see if you have an IP address?
Make sure you have a DHCP server (in WiFi router etc.) handing out IP addresses.

Edited by stingraze 2020-10-15 12:13 AM
 Top of the page
ArchiMark Page Icon Posted 2020-10-15 3:34 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
Yes, you are correct.

Tried ifconfig and no ip address....

I tried:

Quote

# iwlist scan
wifi0 No scan results

wlan0 No scan results




I tried connecting to the guest network at work with my laptop and it recognizes guest network and connects OK.

???

Edited by ArchiMark 2020-10-15 3:56 PM
 Top of the page
ArchiMark Page Icon Posted 2020-10-15 5:12 PM
#
Avatar image of ArchiMark
Subscribers
H/PC Sensei

Posts:
1,195
Location:
Silicon Valley
Status:
My AmbiCom WL1100C card has green indicator light blinking.....

Meanwhile, tried lsmod and no modules are listed.

Anything else I should check out?

Thanks.



Edited by ArchiMark 2020-10-15 5:13 PM
 Top of the page
« Prev ... 3 4 5 6 7 8 9 10 11 12 13 14 ... Next »
Jump to forum:
Seconds to generate: 0.218 - Cached queries : 69 - Executed queries : 12