导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. ubuntu
    U
    • 资料
    • 关注 0
    • 粉丝 2
    • 我的积分 5526
    • 主题 45
    • 帖子 159
    • 最佳 6
    • 群组 0

    ubuntuLV 7

    @ubuntu

    5526
    积分
    6
    声望
    30
    资料浏览
    159
    帖子
    2
    粉丝
    0
    关注
    注册时间 最后登录

    ubuntu 取消关注 关注

    ubuntu 发布的最佳帖子

    • 回复: 麦当劳的点单系统居然是linux

      点一下右上角的 reboot

      然后 (百米冲刺跑出去

      发布在 灌水区
      U
      ubuntu
    • 回复: 小白,想在哪吒板子上实现串口通信,该怎么实现。

      参考:

      https://zhou-yuxin.github.io/articles/2017/Linux串口网卡(二)——用户态转发程序的实现/index.html

      发布在 MR Series
      U
      ubuntu
    • 回复: D1哪吒开发板wifi连接出错,这是什么情况?

      看了一下源码,还真是要写 /etc/ 目录下面的文件:

      ubuntu:/opt/D1/tina_d1_open$ grep /etc -r  package/allwinner/wifimanager/ --include *.c
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:	wmg_printf(MSG_INFO,"DESCRIPTION:\n\tTest the stability of wifi module(see the test result in file:/etc/test_result).\n");
      package/allwinner/wifimanager/demo/wifi_longtime_test.c: *see the test result in file:/etc/test_result
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:	wmg_debug_open_file("/etc/wifi_long_time_test.log");
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:    sprintf(prt_buf,"echo \"Test Times:%d, Success Times:%d(including get IP timeout times:%d), Failed Times:%d\" > /etc/test_results",i,success_times,timeout_times,fail_times);
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:    sprintf(prt_buf,"echo \"Connecting mean time: %llu.%-llu seconds\" >> /etc/test_results",(total_con_microsec/1000000)/i,(total_con_microsec/i)%1000000);
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:    wmg_printf(MSG_INFO,prt_buf,"echo \"Disconnecting mean time: %llu.%-llu seconds\" >> /etc/test_results",(total_disc_microsec/1000000)/i,(total_disc_microsec/i)%1000000);
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:        sprintf(prt_buf,"echo Congratulations! >> /etc/test_results");
      package/allwinner/wifimanager/src/core/wifi_udhcpc.c:    system("/etc/wifi/udhcpc_wlan0 start >/dev/null");
      package/allwinner/wifimanager/src/core/wifimanager.c:    system("/etc/wifi/udhcpc_wlan0 stop >/dev/null");
      package/allwinner/wifimanager/src/core/wifi.c:static const char IFACE_DIR[]           = "/etc/wifi/sockets";
      package/allwinner/wifimanager/src/core/wifi.c:static const char SUPP_CONFIG_TEMPLATE[]= "/etc/wifi/wpa_supplicant_src.conf";
      package/allwinner/wifimanager/src/core/wifi.c:static const char SUPP_CONFIG_FILE[]    = "/etc/wifi/wpa_supplicant.conf";
      package/allwinner/wifimanager/src/core/wifi.c:static const char CONTROL_IFACE_PATH[]  = "/etc/wifi/sockets";
      package/allwinner/wifimanager/src/core/wifi.c:    strncpy(cmd, "/etc/wifi/wifi start", 511);
      package/allwinner/wifimanager/src/core/wifi.c:	  system("/etc/wifi/wifi stop");
      package/allwinner/wifimanager/src/daemon/wifid_cmd_handle.c:		system("/etc/init.d/wifi_daemon start");
      package/allwinner/wifimanager/src/daemon/wifid_cmd_handle.c:	system("/etc/init.d/wifi_daemon stop");
      ubuntu:/opt/D1/tina_d1_open$
      ubuntu:/opt/D1/tina_d1_open$
      
      发布在 MR Series
      U
      ubuntu
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @haoxuan-cui 理论上没有问题, 照着韦老师的思路, 小修改一下

      发布在 MR Series
      U
      ubuntu
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @haoxuan-cui 默认没这么大, 我的166M

      $ ls output/images/*.img -l
      -rw-r--r-- 1 cube cube 166986240 Aug 14 17:11 output/images/sdcard.img
      
      发布在 MR Series
      U
      ubuntu
    • 回复: D1哪吒开发板wifi连接出错,这是什么情况?

      如果是烧卡启动,系统是把 只读的squashfs挂到根文件系统 /

      并没有可读写的 overlayfs ,所以出现了 /etc/ 目录不可写的问题

      root@TinaLinux:/# df
      Filesystem           1K-blocks      Used Available Use% Mounted on
      /dev/root                17152     17152         0 100% /
      devtmpfs                503924         0    503924   0% /dev
      tmpfs                   508116        52    508064   0% /tmp
      /dev/mmcblk0p1            8151       305      7846   4% /mnt/SDCARD
      root@TinaLinux:/#
      root@TinaLinux:/#
      root@TinaLinux:/# mount
      /dev/root on / type squashfs (ro,noatime)
      devtmpfs on /dev type devtmpfs (rw,relatime,size=503924k,nr_inodes=125981,mode=755)
      proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
      tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
      devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
      debugfs on /sys/kernel/debug type debugfs (rw,noatime)
      none on /sys/kernel/config type configfs (rw,relatime)
      adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
      /dev/mmcblk0p1 on /mnt/SDCARD type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
      root@TinaLinux:/#
      
      发布在 MR Series
      U
      ubuntu

    ubuntu 发布的最新帖子

    • 手机120W的充电器都做得那么小,为什么电脑的100W充电器这么大

      手机120W的充电器都做得那么小,为什么电脑的100W充电器这么大

      发布在 灌水区
      U
      ubuntu
    • 回复: 液晶屏长期显示静止画面会有残影?

      @binggee
      感谢大佬解惑,貌似IPS也有这个问题吧?

      发布在 灌水区
      U
      ubuntu
    • 液晶屏长期显示静止画面会有残影?

      https://item.taobao.com/item.htm?id=702253311679

      913f3a7b-bc50-449b-a15e-44fe3341c023-image.png

      发布在 灌水区
      U
      ubuntu
    • 回复: 18.8元的 4G 转 WIFI dongle,即插即用,无需USB通讯,通电即可使用。

      4274b7507b0d6d4d1cc5104100b1c2a.jpg

      c642cbcea53e2917167bc78f5ac2a37.jpg

      cb3acc87-89d9-45ad-b31d-b05957fc3a29-image.png

      发布在 灌水区
      U
      ubuntu
    • 回复: 18.8元的 4G 转 WIFI dongle,即插即用,无需USB通讯,通电即可使用。

      这个4G网卡连不了几个wifi终端,多连几个wifi就挂了,而且用不了only 5G SIM卡,我换这个了,目前用起来还行。

      发布在 灌水区
      U
      ubuntu
    • 回复: 麦当劳的点单系统居然是linux

      @zznzzn
      嗯,或者找到usb口,插入键盘,执行 rm / -rf,迅速逃走。

      发布在 灌水区
      U
      ubuntu
    • 回复: 麦当劳的点单系统居然是linux

      点一下右上角的 reboot

      然后 (百米冲刺跑出去

      发布在 灌水区
      U
      ubuntu
    • 回复: 华为/小米 智能插座

      @whycan 在 华为/小米 智能开关 中说:

      这两天研究了一下办公室的小米智能开关,不用楼主那样一个一个设置,只要开启一个定时任务就可以了:

      谢谢谢谢,这个功能真是测试神器!

      发布在 灌水区
      U
      ubuntu
    • 回复: 华为/小米 智能插座

      mmexport1690633410313.jpg

      mmexport1690633417479.jpg

      发布在 灌水区
      U
      ubuntu
    • 回复: 华为/小米 智能插座

      mmexport1690633408640.jpg

      发布在 灌水区
      U
      ubuntu