Slackware ARM current help with ppp setup, missing ethernet drivers
Recently I bought OrangePi Zero v1.4 board. It comes with a preinstalled Armbian (this distribution uses 3.x kernel branch). I connected gprs modem and managed to establish ppp connection by adding a script to /etc/ppp/peers and verifying /etc/chatscripts/gprs. I also did wlan and ethernet tests. Everything worked as expected. Ok, let's install Slackware then. Slackware ARM current has support for H2+ and H3 chips so using this thread click I managed to successfully install Slackware the 'normal' way. I have three issues however:
1. I don't really know how to setup ppp. There is no pppsetup in path but I found it somewhere in the /usr/share. So I rebuilt the ppp package using Slackware64-current sources. Ok, let's run pppsetup. It asks questions I don't know answers for and exits with failure. All I want is to have pon and poff (or Slackware alternatives). I know that they will be created upon successful pppsetup finish. How should it be done? I just want to copy my scripts and run pon to start ppp connection. 2. There is no ethernet. ifconfig shows loopback interface only. I compared my and Armbian's uboot output and they are the same (except the model version, my is built for orangepi_zero, Armbian's for orangepi_pc). Both uboots recognize eth0 properly. So I suspect that this may be the kernel driver issue. However, I am out of ideas. 3. The same applies for wlan interface. Grepping dmesg for wlan, radio yields nothing. |
This question belongs in the "Slackware - ARM" subforum.
|
Quote:
https://github.com/torvalds/linux/bl.../usb/cdc_ncm.c You should see something like this (maybe different manufacturer) in your dmesg: Code:
[11694.571866] usbserial: USB Serial support registered for GSM modem (1-port) If this is the case, you don't even need pppd to establish the connection and instead only run some simple commands to get connected, bundle them in two short scripts - gprs-on and gprs-off Here's how I do it on a Raspberry Pi - Slack ARM - current with a Huawei 3G USB Modem: - gprs-on - initializing - network config - establishing connection (added some comments for clarification) Code:
#!/bin/sh Code:
#!/bin/sh https://www.enigma14.eu/wiki/RPi_3G_...th_Huawei_E173 https://wiki.archlinux.org/index.php...dems_with_pppd ... or copy over (adapt) the ppp scripts that were generated and working with your GPRS Modem on Armbian. As for your other points, I'm sorry I don't own any OrangePi boards & I'm unable to help. |
Thank you @abga for your input. I should have written that I am using m590 gprs modem connected to the gpio pins (4,6,8,10). I have working scripts and the connection is established properly on preinstalled Armbian. What I want to get is to do the same on Slackware (I would not like to use anything other than Slackware).
The current status is: 1. When I try to use the modem it hangs on AT command which in turn times out. I guess there is something wrong with gpio configuration. Although WiringOP works as expected (and in the same way as on Armbian) on Slackware the only tty I don't get errors is ttyS0. However, it times out as I wrote before. On Armbian the same connection is working on ttyS1. Apart from that I can see different devices under /dev/tty* like ttyGS0, ttyGS1. I don't know whether I am missing some kernel module or there is something wrong with the board config. 2. There is a problem/bug(?) in the dtb file for OrangePi Zero in the u-boot sources. Using dtb file built from u-boot sources (2017.09) results in Code:
MAC IRQ configuration information not found 3. OrangePi Zero uses XR819 chip. One can enable wifi by building the driver (which is out of the mainline tree due to its instability I guess) and downloading needed firmware blobs from https://github.com/armbian/firmware/tree/master/xr819. The reported speeds are about 20Mbits. |
Quote:
|
All times are GMT -5. The time now is 08:13 PM. |