Jump to content

op1tjaap

Members
  • Posts

    110
  • Joined

  • Last visited

Everything posted by op1tjaap

  1. I feel like I have been here before..... I'm trying to get Netatalk working on my OrangePiOne and OrangePiPC. No luck again I have build a custom kernel with only appletalk extra as a module ( appletalk.ko) and used the then created package: linux-image-dev-sun8i_5.24_armhf.deb to install this over an image of the beta images site for an orangepizero. Armbian_5.24.161226_Orangepizero_Ubuntu_xenial_4.9.0.img The OrangePi boots perfect and I see the new kernel active: Linux orangepizero 4.9.0macippi-sun8i-g21ddf78-dirty #2 SMP Fri Jan 6 20:08:41 UTC 2017 armv7l armv7l armv7l GNU/Linux Installed Netatalk after this and it is running fine...only no appletalk or AFP over DDP... very frustrating!! I can aecho to its own address, but not to other Macintosh root@orangepizero:~# nbplkup orangepizero:netatalk 65280.235:4 orangepizero:Workstation 65280.235:4 root@orangepizero:~# aecho 65280.235 14 bytes from 65280.235: aep_seq=0. time=0. ms 14 bytes from 65280.235: aep_seq=1. time=0. ms 14 bytes from 65280.235: aep_seq=2. time=0. ms 14 bytes from 65280.235: aep_seq=3. time=0. ms 14 bytes from 65280.235: aep_seq=4. time=0. ms root@orangepizero:~# aecho 65280.129 ^C ----65280.129 AEP Statistics---- 4 packets sent, 0 packets received, 100% packet loss Wit tcpdump I see a lot of tuncated packages / errors: 23:08:58.212531 AT 65395.129.253 > 0.nis: nbp-lkup 25: "=:AFPServ[|atalk] 23:08:58.722110 AT 65395.129.253 > 0.nis: truncated-nbp 9 23:08:59.038331 AT 65395.129.253 > 0.nis: nbp-lkup 25: "=:AFPServ[|atalk] 23:08:59.860710 AT 65395.129.253 > 0.nis: nbp-lkup 25: "=:AFPServ[|atalk] 23:08:59.874674 AT 65280.235.nis > 0.nis: nbp-lkup 1: "=:=@*" [addr=65280.235.128] 23:09:00.685779 AT 65395.129.253 > 0.nis: nbp-lkup 25: "=:AFPServ[|atalk] 23:09:01.521082 AT 65395.129.253 > 0.nis: nbp-lkup 25: "=:AFPServ[|atalk] 23:09:01.876643 AT 65280.235.nis > 0.nis: nbp-lkup 1: "=:=@*" [addr=65280.235.128] 23:09:15.188213 AT 65395.129.253 > 0.nis: truncated-nbp 9 23:09:16.029066 AT 65395.129.253 > 0.nis: truncated-nbp 9 On my older image with adjusted kernel 4.6.0 and appletalk everything is working fine. At nbplkup looks like this: | \/ | __ _ ___|_ _| _ \ _ __ (_) | |\/| |/ _` |/ __|| || |_) | '_ \| | | | | | (_| | (__ | || __/| |_) | | |_| |_|\__,_|\___|___|_| | .__/|_| |_| Welcome to ARMBIAN Debian GNU/Linux stretch/sid 4.6.0-rc1-macipgw-op1-sunxi Made possible on an OrangePiOne System load: 0.56 Up time: 1 min Memory usage: 14 % of 495Mb IP: 192.168.178.67 Usage of /: 82% of 3.4G Last login: Sun Jan 8 00:02:14 2017 from 192.168.178.14 root@orangepione:~# nbplkup OrangePiOne:AFPServer 65280.223:129 172.16.2.1:IPGATEWAY 65280.223:72 orangepione:netatalk 65280.223:4 orangepione:Workstation 65280.223:4 BasiliskII:AFPServer 65395.129:249 172.16.2.4:IPADDRESS 65395.129:72 BasiliskII:PPCToolBox 65395.129:251 BasiliskII: Macintosh 65395.129:252 BasiliskII:Workstation 65395.129:4 AsantéTalk 940863E7:Asant▒Talk 65330.7:252 tcpdump looks also more healty: root@orangepione:~# tcpdump -i eth0|grep AT tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes 00:41:37.351701 AT 65395.129.253 > 0.nis: nbp-lkup 134: "=:=@*" 00:41:37.351896 AT 65280.223.nis > 65395.129.253: nbp-reply 134: "OrangePiOne:AFPServer@*"(0) 129 "172.16.2.1:IPGATEWAY@*" 72 "orangepione:netatalk@*"(2) 4 "orangepione:Workstation@*"(3) 4 00:41:38.192129 AT 65395.129.253 > 0.nis: nbp-lkup 134: "=:=@*" 00:41:38.192306 AT 65280.223.nis > 65395.129.253: nbp-reply 134: "OrangePiOne:AFPServer@*"(0) 129 "172.16.2.1:IPGATEWAY@*" 72 "orangepione:netatalk@*"(2) 4 "orangepione:Workstation@*"(3) 4 00:41:39.039719 AT 65395.129.253 > 0.nis: nbp-lkup 134: "=:=@*" 00:41:39.039852 AT 65280.223.nis > 65395.129.253: nbp-reply 134: "OrangePiOne:AFPServer@*"(0) 129 "172.16.2.1:IPGATEWAY@*" 72 "orangepione:netatalk@*"(2) 4 "orangepione:Workstation@*"(3) 4 00:41:39.886361 AT 65395.129.253 > 0.nis: nbp-lkup 134: "=:=@*" 00:41:39.886524 AT 65280.223.nis > 65395.129.253: nbp-reply 134: "OrangePiOne:AFPServer@*"(0) 129 "172.16.2.1:IPGATEWAY@*" 72 "orangepione:netatalk@*"(2) 4 "orangepione:Workstation@*"(3) 4 00:41:42.250885 AT 65395.129.253 > 0.nis: nbp-lkup 135: "=:AFPServer@*" 00:41:42.251074 AT 65280.223.nis > 65395.129.253: nbp-reply 135: "OrangePiOne:AFPServer@*"(0) 129 00:41:43.088403 AT 65395.129.253 > 0.nis: nbp-lkup 135: "=:AFPServer@*" 00:41:43.088539 AT 65280.223.nis > 65395.129.253: nbp-reply 135: "OrangePiOne:AFPServer@*"(0) 129 The log file from this one can be found here: http://sprunge.us/JAEI Nothing to see from my Basilisk II emulator too. Should be.... I hoped that with a newer kernel the Ethernet problems of the Orange Pi where solved, See my armbianmonitor -u output on: http://sprunge.us/XEca I love to have a working ethernet card WITH Apple talk for my project "The MacIPpi". See all about it on: https://forum.armbian.com/index.php/topic/932-appletalk-on-an-orange-pi-one/
  2. Time to update my MacIPpi project! It is made better over the time and is in use now by old Macintosh users. See this excellent post in the Swedish Dator Museum (Computer Museum) about the actual use. http://www.datormuseum.se/computers/apple/macintosh-plus One bad thing about the MacIPpi is that it is still running on kernel 4.6.0 with many RX errors. I hoped that this is fixed in Armbian 5,24 and kernel 4.9.0 I’m afraid that eth0 is working fine….no more RX errors…but NO APPLETALK! And yes..I compiled appletalk as a module and installed Netatalk. Is this driver for the Ethernet card now capable of running appletalk or not? I have again the same errors as you see in this same posting. See the errors....truncated npb is not OK.... It seems to recieve data from an other Macintsoh, but it is not understoot... The OrangePi is also not visible for other Macintosh. tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes 00:10:14.684590 AT 65395.129.253 > 0.nis: truncated-nbp 9 00:10:15.528220 AT 65395.129.253 > 0.nis: truncated-nbp 9 00:10:16.369947 AT 65395.129.253 > 0.nis: truncated-nbp 9 00:10:17.211315 AT 65395.129.253 > 0.nis: truncated-nbp 9 00:10:33.462695 AT 65395.129.253 > 0.nis: truncated-nbp 9 00:10:34.130278 AT 65395.129.253 > 0.nis: nbp-lkup 24: "=:AFPServ[|atalk] 00:10:34.303273 AT 65395.129.253 > 0.nis: truncated-nbp 9 00:10:34.962863 AT 65395.129.253 > 0.nis: nbp-lkup 24: "=:AFPServ[|atalk] 00:10:35.144305 AT 65395.129.253 > 0.nis: truncated-nbp 9 00:10:35.788432 AT 65395.129.253 > 0.nis: nbp-lkup 24: "=:AFPServ[|atalk] 00:10:35.986440 AT 65395.129.253 > 0.nis: truncated-nbp 9 00:10:36.616924 AT 65395.129.253 > 0.nis: nbp-lkup 24: "=:AFPServ[|atalk]
  3. I use the IP information provided by motd to find my IP address. I is useful when I reboot from the serial connection and like to SSH to the machine. I only look at the screen and see the IP address. I fixed /etc/update-motd.d/30-sysinfo like this: #ip_address=$((ifconfig -a) | sed -n '/inet addr/s/.*addr.\([^ ]*\) .*/\1/p' | head -1) ip_address=$((ifconfig eth0) | awk '/inet / {gsub("addr:", "", $2); print $2}') now it displays its IP address nicely!
  4. I had the same problem on my Orange Pi One. I compiled a 3.4.110 kernel as you would need to do it. With appletalk.ko module. But no way I got it going. I was also seeing the device itself. I could see the AppleTalk packages coming in (with tcpdump) but netatalk could see anything, tkaiser idea that maybe the Allwinner employees don't know what AppleTalk is and totally forgot to add it in their driver. Only, with the help of tkaiser I could use the newly mainline kernel 4.6.0 it worked (BTW I used the promisc tric on my NTC C.H.I.P.). The problem with the 4.6.0 kernel is that there are lots of RX errors. So much that after two days you will be out of network do you need to reboot.. My hope is that this will be fixed. Then I will have a perfect SoC as AppleTalk router and network server! A quad core for $9.95 I already claimed a name for this device; MacPi :-)
  5. http://forum.armbian.com/index.php/topic/932-appletalk-on-an-orange-pi-one/#entry7485
  6. I had the same kind of strange behavior with AppleTalk. You should to set your eth0 to promisc mode for a try. After that you might see al your devices. If the Bpi can use the same Armbian as the Opi 1 you could use my image.
  7. op1tjaap

    Move to dev

    Running 4.6.0 on a Orange Pi PC and also getting lost of errors on ethernet. Rebooting is the only thing I can do. Anyone knows if there is some progress in this? Otherwise a great board for low price! Apr 13 07:05:26 localhost kernel: [289986.855310] sun8i-emac 1c30000.ethernet: desc50 15600 0 5ec4e032: Apr 13 07:05:26 localhost kernel: [289986.861513] sun8i-emac 1c30000.ethernet: desc51 15600 0 5ec4e033: Apr 13 07:05:26 localhost kernel: [289986.867716] sun8i-emac 1c30000.ethernet: desc52 15600 0 5ec4e034: Apr 13 07:05:26 localhost kernel: [289986.873919] sun8i-emac 1c30000.ethernet: desc53 15600 0 5ec4e035: Apr 13 07:05:26 localhost kernel: [289986.880121] sun8i-emac 1c30000.ethernet: desc54 15600 0 5ec4e036: Apr 13 07:05:26 localhost kernel: [289986.886325] sun8i-emac 1c30000.ethernet: desc55 15600 0 5ec4e037: Apr 13 07:05:26 localhost kernel: [289986.892529] sun8i-emac 1c30000.ethernet: desc56 15600 0 5ec4e038: Apr 13 07:05:26 localhost kernel: [289986.898733] sun8i-emac 1c30000.ethernet: desc57 15600 0 5ec4e039: Apr 13 07:05:26 localhost kernel: [289986.904936] sun8i-emac 1c30000.ethernet: desc58 15600 0 5ec4e03a: Apr 13 07:05:26 localhost kernel: [289986.911139] sun8i-emac 1c30000.ethernet: desc59 15600 0 5ec4e03b: Apr 13 07:05:26 localhost kernel: [289986.917342] sun8i-emac 1c30000.ethernet: desc60 15600 0 5ec4e03c: Apr 13 07:05:26 localhost kernel: [289986.923544] sun8i-emac 1c30000.ethernet: desc61 15600 0 5ec4e03d: Apr 13 07:05:26 localhost kernel: [289986.929747] sun8i-emac 1c30000.ethernet: desc62 15600 0 5ec4e03e: Apr 13 07:05:26 localhost kernel: [289986.935950] sun8i-emac 1c30000.ethernet: desc63 15600 0 5ec4e03f: Apr 13 07:05:26 localhost kernel: [289986.943003] sun8i-emac 1c30000.ethernet: BUG!: TX is full 26 25
  8. Ok! Clear point. No Armbian for C.H.I.P! It has no use to do so much effort! lets wait for the Orange PC Plus and hope that this will be a low cost top board!
  9. If someone could make the correct files I can test uploading it to the C.H.I.P. The firmware update script want these files: cache_download "${FW_IMAGE_DIR}" ${ROOTFS_URL} rootfs.ubi cache_download "${FW_IMAGE_DIR}" ${BR_URL} sun5i-r8-chip.dtb cache_download "${FW_IMAGE_DIR}" ${BR_URL} sunxi-spl.bin cache_download "${FW_IMAGE_DIR}" ${BR_URL} sunxi-spl-with-ecc.bin cache_download "${FW_IMAGE_DIR}" ${BR_URL} uboot-env.bin cache_download "${FW_IMAGE_DIR}" ${BR_URL} zImage cache_download "${FW_IMAGE_DIR}" ${BR_URL} u-boot-dtb.bin Maybe I can "recycle" some of the files listed here and use only zImage and rootfs for getting Armbian running? Not sure...because this is new to me.
  10. If you want to buy a C.H.I.P. it costs $9. Shipping to the Netherlands $6.22, so in total: $15.22 USD See: http://getchip.com/pages/chip If you want to connect a descend screen, so no TV or analog monitor, you have to buy an addon, like a VGA or HDMI board. VGA is $10, HDMI is $15. So yes... if you need normal screen output or stay headless an Orange Pi One could be a better choice. Best use...Good question.I guess that people like the WIFI and Bluetooth on board. Maybe also the 4GB storage which is on board. If you want to know what are people doing with their C.H.I.P have a look at this page: https://chip.hackster.io/
  11. @toast I think that the OS provided with CHIP is very basic. There are not modules on board. So you would like to change that in an easy way. From my experience Armbian has an excellent way in developing a custom build OS with an easy way of adding kernel modules. That why it would be nice to offers this to the people who will get there CHIP in June. @tkaiser point 1 I don't think it is wise to buy a board for you personal. This is clearly definitely not what you want from a Soc. Fact is that many people have done so and that this is their first experience with a Soc. Or people who are tempted to find a use because of its low price. I agree with you that if you look close to CHIP there is a downside, like CPU, Power problems, shipping costs. I have also the feeling that the longs term bringing it to the market is now a disadvantage. When it hits the market it is already one year old and not evolved. A version 2.0 is not yet announced. Still I think it is better for Armbian to embrace CHIP then to ignore it. @kaiser point 2 What is at the moment your favorite Soc? Price compared to performance?
  12. You can test my MacIPgw SD image if you have an Orange Pi One. Download it from www.macip.net
  13. CHIP is popular because it is really dead cheap and with some nice assets like WIFI, Bluetooth, 4GB "disk".
  14. You are right. Not the best specs, but in June many of the devices will hit the market. CHIP had many backers on Kickstart and would be nice to give this people (including me.....) the chance to run Armbian.
  15. Hmmmm I'm new to Docker so just testing. I see some errors: root@orangepione:~# docker run -i -t ubuntu /bin/bash Unable to find image 'ubuntu:latest' locally latest: Pulling from library/ubuntu 87192bdbe00f: Pull complete 28e09fddaacb: Pull complete 7e15ce58ccb2: Pull complete a3ed95caeb02: Pull complete Digest: sha256:f6e8757419147ba099af8cec4db365b3603472bd6182722b16fdae932c0bf3bf Status: Downloaded newer image for ubuntu:latest docker: Error response from daemon: open /var/lib/docker/overlay/cdef9a12e80f2eae26c4e4b66af2ee8af8a4577b1d6d6d898b1575d8a99f7c7e-init/merged/.dockerinit: operation not permitted. See 'docker run --help'. root@orangepione:~# docker pull busybox Using default tag: latest latest: Pulling from library/busybox 385e281300cc: Pull complete a3ed95caeb02: Pull complete Digest: sha256:4a887a2326ec9e0fa90cce7b4764b0e627b5d6afcb81a3f73c85dc29cea00048 Status: Downloaded newer image for busybox:latest root@orangepione:~# docker run -it --rm busybox docker: Error response from daemon: open /var/lib/docker/overlay/561da1c9004517d94d57d4e417098b2d42f1cddf2bd227afa9e724b4e6c5401c-init/merged/.dockerinit: operation not permitted. See 'docker run --help'. in kern.log Apr 9 11:16:07 localhost kernel: [ 591.821731] EXT4-fs warning (device mmcblk0p1): ext4_file_open:381: Inconsistent encryption contexts: 7517/154551 Apr 9 11:16:07 localhost kernel: [ 591.821731] Apr 9 12:22:58 localhost kernel: [ 4602.820036] EXT4-fs warning (device mmcblk0p1): ext4_file_open:381: Inconsistent encryption contexts: 7659/154612 Apr 9 12:22:58 localhost kernel: [ 4602.820036]
  16. I installed docker on a Orange Pi One. Using kernel: 4.6.0-rc1 Seems to work. Stick to this how to to install:
  17. @tkaiser Great story about your work with the PowerMac and Sun SparcStations. The world has really changed! On my desk you see besides the PowerBook 100 an old Apple Lisa. This one has a 68000 5Mhz processor, 2 MB of Ram and a 10 MB harddisk. It has costed around € 15000,- So yes also for this one. An Orange Pi One is better and cheaper!
  18. Does anyone knows if there will be Armbian support for the NTC C.H.I.P. I would really love to run Armbina om my NTC C.H.I.P. aka "The World's First Nine Dollar Computer" No SD card on this one but you have to flash it. See: http://getchip.com/pages/chip
  19. @zador.blood.stained YES!!!! That does the trick! console=ttyS0,115200 I made a mistake by not thing from the perspective from the Orange Pi One. On my laptop is is ttyUSB0. On my Orange Pi One it is ttyS0. Thank you very much. I have no monitor so I'm stuck to serail. I love this output!
  20. Both Darko and Igor reactions made me think how to solve this issue. Darko advised me to use a serail connection. But... I'm using one from my Ubuntu laptop! screen /dev/ttyUSB0 115200 So I checked boot.cmd Igor advised me. I'm using that one! I thought I was clever and changed env console=tty1 to console=ttyUSB0,115200 in boot.cmd and did a mkimage Now my boot.scr will have this on board: root@orangepione:/boot# diff boot.cmd boot.igor 7c7 < setenv bootargs "console=ttyUSB0,115200 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=${verbosity}" --- > setenv bootargs "console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=${verbosity}" reboot again and....nothing cahnged. Again no print out from my linux boot to my serail connection. see my boot: Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 2435 bytes read in 212 ms (10.7 KiB/s) ## Executing script at 43100000 222 bytes read in 146 ms (1000 Bytes/s) 0 bytes read in 151 ms (0 Bytes/s) 15798 bytes read in 1193 ms (12.7 KiB/s) 5718032 bytes read in 722 ms (7.6 MiB/s) Kernel image @ 0x46000000 [ 0x000000 - 0x574010 ] ## Flattened Device Tree blob at 49000000 Booting using the fdt blob at 0x49000000 Using Device Tree in place at 49000000, end 49006db5 Starting kernel ... Uncompressing Linux... done, booting the kernel. Debian GNU/Linux stretch/sid orangepione ttyS0 orangepione login: Special if I have an error in my kernel I won't see anything. Any ideas?
  21. Good question. To be sure I checked my afpd configuration: "OrangePiOne" -ddp -notcp -uamlist uams_guest.so,uams_clrtxt.so,uams_dhx.so -defaultvol /etc/netatalk/AppleVolumes.default -systemvol /etc/netatalk/AppleVolumes.system -nouservol -guestname "nobody" -setuplog "default log_maxdebug /var/log/afpd.log" So no TCP afp possible. The speed is acceptable. I clocked a transfer of a 7 MB file in about 2 minutes. With my PowerBook 100 with its 40 MB harddisk perfectly workable. With TCP over AppleTalk it is different. That is not fast but perfectly acceptable. If you want to browse the Internet with Netacape 1.1 not many sites are available. But some telneting is perfect. See some pictures of my setup. I use NSCA Telnet to login my Orange Pi One.
  22. Also added AFPD file sharing over DDP now. Working great...and fast!!! I have done it all on a $9,95 small PC. Really great!!! I will share a SD image on my web site www.macip.net.
  23. Somehow I don't get it. If I boot Armbian it never has a verbose startup. I I check the script it looks like at startup there should be a /boot/.verbose file. There is.... I don't see a env variable to get this done... So I need some help. Could anyone tell me how to get this done?
  24. BIG SUCCESS!!!!!!! Orange Pi One is now working as a MacIPgw, a Linux MacIP gateway. It is able to encapsulate IP in AppleTalk. I'm now able to connect all my old Macintosh computers to the Internet with the help of one Orange Pi One. Unbelievable....... A $9,95 computer with full blown Linux OS.... Armbian!!! Thanks everybody for helping me to get this far so quickly! Look at the picture below. I'm surfing the Internet with Netscape 1.1 (1994/1995). To show I'm not cheating I show the TCP/IP control panel.
  25. Compiled a new kernel and modules. Now only appletalk is active. No ddp. I hope now the macipgw will work. Keep you posted!
×
×
  • Create New...