Не отключайте рекламу на сайте - поможете проектуx86_64: LFD10-23.05 ; Roll23.05-23.06 ; LFU22 ; FASi686: DDR01-21.08 Русские PuppyLinux
Проголосовало пользователей: 6
0 Пользователей и 1 Гость просматривают эту тему.
Кнопку отмена и ок местами поменять
pppoeconf.tar.xz
Если в su можно обойтись без ввода пароля - чем плохо?
live@pra:~$ sudo suroot@pra:live#
Можно выкладывать готовый модуль для теста?
089-z-anet-ds17.pfs
Код# connectexport Window='<window title="WWW"><hbox><frame eth0 отключен><vbox> <pixmap> <height>64</height> <input file>/usr/share/pixmaps/network2.svg</input> </pixmap> <button> <width>20</width> <input file>/usr/share/pixmaps/BallRed.png</input> <label>Подключить</label> <action function="exit">up_func eth0</action> </button></vbox></frame></hbox></window>'/usr/bin/lan.sh: eth0 up/usr/bin/lan.sh: carrier yesTimeout waiting for PADO packetseth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.187 netmask 255.255.255.0 broadcast 192.168.1.255 ether 00:24:8c:ca:74:75 txqueuelen 1000 (Ethernet) RX packets 4 bytes 240 (240.0 B) RX errors 0 dropped 4 overruns 0 frame 0 TX packets 76 bytes 4782 (4.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0/usr/bin/lan.sh: No GW on eth0dbus[2710]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0/usr/bin/lan.sh: eth0 downdbus[2752]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0
# connectexport Window='<window title="WWW"><hbox><frame eth0 отключен><vbox> <pixmap> <height>64</height> <input file>/usr/share/pixmaps/network2.svg</input> </pixmap> <button> <width>20</width> <input file>/usr/share/pixmaps/BallRed.png</input> <label>Подключить</label> <action function="exit">up_func eth0</action> </button></vbox></frame></hbox></window>'/usr/bin/lan.sh: eth0 up/usr/bin/lan.sh: carrier yesTimeout waiting for PADO packetseth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.187 netmask 255.255.255.0 broadcast 192.168.1.255 ether 00:24:8c:ca:74:75 txqueuelen 1000 (Ethernet) RX packets 4 bytes 240 (240.0 B) RX errors 0 dropped 4 overruns 0 frame 0 TX packets 76 bytes 4782 (4.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0/usr/bin/lan.sh: No GW on eth0dbus[2710]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0/usr/bin/lan.sh: eth0 downdbus[2752]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0
inet 192.168.1.187 netmask 255.255.255.0 broadcast 192.168.1.255
Timeout waiting for PADO packets
pppoe-discovery корректно работает только если интерфейсу не присвоен IP. Так написано в инструкции. А в результате
Код# connectexport Window='<window title="WWW"><hbox><frame eth0 отключен><vbox> <pixmap> <height>64</height> <input file>/usr/share/pixmaps/network2.svg</input> </pixmap> <button> <width>20</width> <input file>/usr/share/pixmaps/BallRed.png</input> <label>Подключить</label> <action function="exit">up_func eth0</action> </button></vbox></frame></hbox></window>'/usr/bin/lan.sh: eth0 up/usr/bin/lan.sh: carrier yesTimeout waiting for PADO packetseth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::224:8cff:feca:7475 prefixlen 64 scopeid 0x20<link> ether 00:24:8c:ca:74:75 txqueuelen 1000 (Ethernet) RX packets 2 bytes 120 (120.0 B) RX errors 0 dropped 2 overruns 0 frame 0 TX packets 28 bytes 4980 (4.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0/usr/bin/lan.sh: No GW on eth0/usr/bin/lan.sh: eth0 down
# connectexport Window='<window title="WWW"><hbox><frame eth0 отключен><vbox> <pixmap> <height>64</height> <input file>/usr/share/pixmaps/network2.svg</input> </pixmap> <button> <width>20</width> <input file>/usr/share/pixmaps/BallRed.png</input> <label>Подключить</label> <action function="exit">up_func eth0</action> </button></vbox></frame></hbox></window>'/usr/bin/lan.sh: eth0 up/usr/bin/lan.sh: carrier yesTimeout waiting for PADO packetseth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::224:8cff:feca:7475 prefixlen 64 scopeid 0x20<link> ether 00:24:8c:ca:74:75 txqueuelen 1000 (Ethernet) RX packets 2 bytes 120 (120.0 B) RX errors 0 dropped 2 overruns 0 frame 0 TX packets 28 bytes 4980 (4.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0/usr/bin/lan.sh: No GW on eth0/usr/bin/lan.sh: eth0 down
Код# connectexport Window='<window title="WWW"><hbox><frame eth0 отключен><vbox> <pixmap> <height>64</height> <input file>/usr/share/pixmaps/network2.svg</input> </pixmap> <button> <width>20</width> <input file>/usr/share/pixmaps/BallRed.png</input> <label>Подключить</label> <action function="exit">up_func eth0</action> </button></vbox></frame></hbox></window>'/usr/bin/lan.sh: eth0 up/usr/bin/lan.sh: carrier yesTimeout waiting for PADO packetseth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 00:24:8c:ca:74:75 txqueuelen 1000 (Ethernet) RX packets 3 bytes 180 (180.0 B) RX errors 0 dropped 3 overruns 0 frame 0 TX packets 18 bytes 5526 (5.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0/usr/bin/lan.sh: No GW on eth0/usr/bin/lan.sh: eth0 down
# connectexport Window='<window title="WWW"><hbox><frame eth0 отключен><vbox> <pixmap> <height>64</height> <input file>/usr/share/pixmaps/network2.svg</input> </pixmap> <button> <width>20</width> <input file>/usr/share/pixmaps/BallRed.png</input> <label>Подключить</label> <action function="exit">up_func eth0</action> </button></vbox></frame></hbox></window>'/usr/bin/lan.sh: eth0 up/usr/bin/lan.sh: carrier yesTimeout waiting for PADO packetseth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 00:24:8c:ca:74:75 txqueuelen 1000 (Ethernet) RX packets 3 bytes 180 (180.0 B) RX errors 0 dropped 3 overruns 0 frame 0 TX packets 18 bytes 5526 (5.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0/usr/bin/lan.sh: No GW on eth0/usr/bin/lan.sh: eth0 down
Код$ ifconfigeth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 00:24:8c:ca:74:75 txqueuelen 1000 (Ethernet) RX packets 10028 bytes 12367574 (11.7 MiB) RX errors 0 dropped 12 overruns 0 frame 0 TX packets 9455 bytes 878307 (857.7 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 1000 (Local Loopback) RX packets 96 bytes 7810 (7.6 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 96 bytes 7810 (7.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492 inet 10.126.11.108 netmask 255.255.255.255 destination 188.64.128.22 ppp txqueuelen 3 (Point-to-Point Protocol) RX packets 9838 bytes 12139617 (11.5 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 9251 bytes 668289 (652.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ ifconfigeth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 00:24:8c:ca:74:75 txqueuelen 1000 (Ethernet) RX packets 10028 bytes 12367574 (11.7 MiB) RX errors 0 dropped 12 overruns 0 frame 0 TX packets 9455 bytes 878307 (857.7 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 1000 (Local Loopback) RX packets 96 bytes 7810 (7.6 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 96 bytes 7810 (7.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492 inet 10.126.11.108 netmask 255.255.255.255 destination 188.64.128.22 ppp txqueuelen 3 (Point-to-Point Protocol) RX packets 9838 bytes 12139617 (11.5 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 9251 bytes 668289 (652.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Pra-retro, minirc.
Кодlive@pra:~$ ifconfigeth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 00:25:ab:25:7e:24 txqueuelen 1000 (Ethernet) RX packets 84 bytes 28470 (27.8 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 13 bytes 1411 (1.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492 inet 100.72.3.141 netmask 255.255.255.255 destination 83.219.128.0 ppp txqueuelen 3 (Point-to-Point Protocol) RX packets 3 bytes 54 (54.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 3 bytes 54 (54.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
live@pra:~$ ifconfigeth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 00:25:ab:25:7e:24 txqueuelen 1000 (Ethernet) RX packets 84 bytes 28470 (27.8 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 13 bytes 1411 (1.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492 inet 100.72.3.141 netmask 255.255.255.255 destination 83.219.128.0 ppp txqueuelen 3 (Point-to-Point Protocol) RX packets 3 bytes 54 (54.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 3 bytes 54 (54.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Мне понравилось. Думаю что-то подобное sfs и хотел видеть в своем PRA.
Запускать через su, не через sudo!
Сейчас у меня pppoe через netctl.
не связываться с pppoe.
ПРа не мой.
Почему просто его и не взять?
Прежде чем что-то взять надо очень подумать. Иногда допиливание готового намного сложнее написания нового.
Вот вам ещё картинка
Отсутствие кнопки "Cancel" могу обосновать
Вот вам ещё картинка.