Yet Another Needless Site

  • About Me

Carrot

Cleaned up /boot in Phicomm N1

Carrot 2018-12-23

Update: If you really care about the number of files in /boot, I suggest you read this post, which will allow you to remove emmc_autoscript as well. Only the followingContinue reading

Made even more (once) reserved memory available to Linux on Phicomm N1

Carrot 2018-12-23

The corresponding memory region was shrinked in DTB for 3.1x by this patch, and I changed the dtb I’m using accordingly. — a.dts 2018-01-01 00:00:00.000000000 +0000 +++ b.dts 2018-01-01 00:00:00.000000000Continue reading

Get fw_printenv working on Phicomm N1

Carrot 2018-12-23

fw_printenv / fw_setenv on Armbian 5.6x does not work out of box: # fw_printenv Cannot parse config file ‘/etc/fw_env.config’: No such file or directory To solve this issue, put theContinue reading

Override available memory region passed to Linux by U-boot

Carrot 2018-12-17

It looks that u-boot does not make the whole memory region visible to Linux kernel on my N1 box: # hexdump -C /sys/firmware/devicetree/base/memory@0/reg 00000000 00 00 00 00 00 00Continue reading

Transparently proxy all traffic from ocserv using socks proxy

Carrot 2018-12-16

Assign a unique network address to clients of ocserv by setting ipv4-network = x.x.x.x/24 in /etc/ocserv/ocserv.conf (or some file in /etc/ocserv/config-by-xxx/). Set up iptables to redirect traffic originated from thisContinue reading

Upgraded Ubuntu 18.04 to 18.10 on Phicomm N1

Carrot 2018-12-16

Nothing tricky. Just replace all occurrance of bionic with cosmic in /etc/apt/sources.list and do a apt full-upgrade. For details, see Upgrading from Ubuntu 18.04. But what worth noting is thatContinue reading

Ping latency raises after a while on Phicomm N1 running Armbian 5.67 (4.19 kernel)

Carrot 2018-12-15

Update: The patch mentioned in this post has been merged and I suppose it will be part of Linux 5.0. Phicomm N1’s dtb has also been merged into Linux 5.0.Continue reading

Lost USB connection between USB hard drive and Phicomm N1 after a while

Carrot 2018-12-14

My N1 box lost connection to USB hard drive after a while, and dmesg shows something like this: [ 1.000000] usb usb1-port1: disabled by hub (EMI?), re-enabling… [ 1.000000] usbContinue reading

Setting up OpenConnect Server on Ubuntu

Carrot 2018-12-09

Several points to note: Listening port cannot be set in /etc/ocserv.conf, instead, set them in //etc/systemd/system/ocserv.socket.d/port.conf. e.g.: [Socket] ListenDatagram= ListenStream=12345 Leaving the value as empty prevents ocserv from using thatContinue reading

Unbricked my first Phicomm N1

Carrot 2018-12-08

It turns out that Phicomm T1 (not N1)’s firmware could be flashed onto N1, with “erase bootloader” enabled. To connect N1 to computer I need to remove the lid ofContinue reading

Posts pagination

« 1 … 3 4 5 6 7 »
Recent Posts
  • Stop /etc/resolv.conf from being updated automatically
  • My first take on C++ coroutines
  • Restart nginx on failure endlessly on Debian
  • Packing / unpacking FP32s as BFloat16s with AVX2 (truncating)
  • Build Linux 5.10 LTS for Phicomm N1
Categories
  • Linux
  • N1
  • Network
  • Programming
  • Router
  • U-Boot
  • Uncategorized
  • VPS
  • Website
Recent Comments
  • Carrot on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Carrot on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Justin on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Justin on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
  • Anonymous on Boot Phicomm N1 without emmc_autoscript / s905_autoscript
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright 2025 Yet Another Needless Site | Designed by CodeGearThemes

Powered by WordPress