Przejdź do treści forum
eko.one.pl
OpenWrt, Linux, USB, notebooki i inne ciekawe rzeczy
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
Aktywne tematy Tematy bez odpowiedzi
Opcje wyszukiwania
Machnąłem ręka na nową gnokii (od tygodnia próbuję skompilować, klęska), muszę sobie jakoś radzić z tą z repo 0.6.21 (z nokia 6288 nie potrafi czytać smsów, brak utf8...)
Bardziej interesujący jest gammu smsd + kannel + playsms, aby obsługiwać telefon przez www np: wysyłać i przeglądać odebrane smsy.
Panowie, pomóżcie 
na początek kompilacja gammu na tplinka (ewentualnie nowa gnokii)
Będzie fajny projekt, mini-serwer sms
Dzień dobry wieczór,
Mam urządzenie wielofunkcyjne Brother MFC-9840CDW połączony kablem RJ-45 z ruterem TL-WR1043ND OpenWrt Backfire 10.03.1-RC6 / LuCI 0.10 Branch (0.10+svn7967)
Mam problem z skonfigurowaniem klienta smtp/pop gmail na drukarce, aby brother wysyłam np. skany na e-maila.
Serwer gmail wymaga SSL, a w configu Brothera nie ma opcji SSL. Wujek Google to potwierdza.
Próbowałem Tunneling pop3/smtp to gmail SSL pop3s/smtps using xinetd on Linux
Hi,
My Brother MFC-9840cdw multi-functional printer/scanner/coper/fax can scan to email. However gmail requires SSL, which the printer is not able to support. Using xinetd and openssl, my Linux machine is able to proxy local pop3 requests to gmail’s SSL pop3s service, and local smtp requests to gmail’s SSL smtps service.
Here are the basics on what you need. These ideas are not original.
Tunneling smtp to smtps
# xinetd: tunnel local smtp to gmail smtps
service smtp
{
disable = no
socket_type = stream
wait = no
user = root
server = /etc/xinetd.d/extra/gmailsmtpstunnel.sh
only_from = 0.0.0.0
}
#####################################################################
# Instructions
#
#
# 1) Copy this entire file to /etc/xinetd.d/gmailsmtpstunnel
#
# 2) Create the following script in:
# /etc/xinetd.d/extra/gmailsmtpstunnel.sh
# --------------------------------------
# #!/bin/sh
# /usr/bin/openssl s_client -quiet -connect smtp.gmail.com:465 2>/dev/null
# --------------------------------------
# 3) Change the permissions
# chmod 755 /etc/xinet.d/extra/gmailsmtpstunnel.sh
# 4) Restart xinetd
# /etc/init.d/xinetd restart
# 5) Test the tunnel
# telnet localhost 25
# 6) Point your mail smtp server to here
Tunneling pop3 to pop3s
# xinetd: tunnel local pop3 to gmail pop3s
service pop3
{
disable = no
socket_type = stream
wait = no
user = root
server = /etc/xinetd.d/extra/gmailpop3stunnel.sh
only_from = 0.0.0.0
}
#####################################################################
# Instructions
#
#
# 1) Copy this entire file to /etc/xinetd.d/gmailpop3stunnel
#
# 2) Create the following script in:
# /etc/xinetd.d/extra/gmailpop3stunnel.sh
# --------------------------------------
# #!/bin/sh
# /usr/bin/openssl s_client -quiet -connect pop.gmail.com:995 2>/dev/null
# --------------------------------------
# 3) Change the permissions
# chmod 755 /etc/xinet.d/extra/gmailpop3stunnel.sh
# 4) Restart xinetd
# /etc/init.d/xinetd restart
# 5) Test the tunnel
# telnet localhost 110
# 6) Point your mail smtp server to here
log
Nov 28 21:12:01 OpenWrt daemon.err xinetd[7111]: /etc/xinetd.d/extra is not a regular file. It is being skipped.
Nov 28 21:12:01 OpenWrt daemon.debug xinetd[7111]: Reading included configuration file: /etc/xinetd.d/gmailpop3stunnel [file=/etc/xinetd.conf] [line=6]
Nov 28 21:12:01 OpenWrt daemon.debug xinetd[7111]: Reading included configuration file: /etc/xinetd.d/gmailsmtpstunnel [file=/etc/xinetd.d/gmailsmtpstunnel] [line=31]
Nov 28 21:12:01 OpenWrt daemon.notice xinetd[7111]: xinetd Version 2.3.14 started with loadavg options compiled in.
Nov 28 21:12:01 OpenWrt daemon.notice xinetd[7111]: Started working: 2 available services
Ale to nie pomaga.
Oczywiście z kompa wszystko ładnie po sieci drukuje i skanuje. Firmware brothera najnowszy.
Może inny sposób?
Proszę o pomoc 
Cezary napisał/a:To że interfejs luci jest cały czas rozwijany i zmienia się dość szybko. Niektóre strony działają niektóre nie.
Przeinstalowałem (na siłę --force-overwrite) najnowsze pakiety LuCI z http://downloads.openwrt.org/snapshots/ … /packages/
i jest git 
OpenWrt Backfire 10.03.1-RC5 / LuCI 0.10 Branch 0.10+svn7109
Na czystym najnowszym openwrt obsy, jestem na etapie wgrania luci według http://eko.one.pl/?p=openwrt-backfire#d … nfiguracja
ale coś się wysypało i pod http://moje_ip/cgi-bin/luci
This page contains the following errors:
error on line 53 at column 55: expected '>'
Below is a rendering of the page up to the first error.
i lipa
W czym problem?
terminal
root@OpenWrt:~$ opkg install uhttpd luci-admin-full luci-theme-openwrt px5g
Installing uhttpd (22) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//uhttpd_22_ar71xx.ipk.
Installing luci-admin-full (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-admin-full_0.9+svn6512-1_ar71xx.ipk.
Installing luci-core (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-core_0.9+svn6512-1_ar71xx.ipk.
Installing lua (5.1.4-7) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//lua_5.1.4-7_ar71xx.ipk.
Installing liblua (5.1.4-7) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//liblua_5.1.4-7_ar71xx.ipk.
Installing luci-nixio (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-nixio_0.9+svn6512-1_ar71xx.ipk.
Installing luci-admin-core (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-admin-core_0.9+svn6512-1_ar71xx.ipk.
Installing luci-web (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-web_0.9+svn6512-1_ar71xx.ipk.
Installing luci-http (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-http_0.9+svn6512-1_ar71xx.ipk.
Installing luci-sys (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-sys_0.9+svn6512-1_ar71xx.ipk.
Installing luci-uci (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-uci_0.9+svn6512-1_ar71xx.ipk.
Installing libuci-lua (12012009.6-3) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//libuci-lua_12012009.6-3_ar71xx.ipk.
Installing luci-sgi-cgi (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-sgi-cgi_0.10+svn7109-1_ar71xx.ipk.
Installing luci-lmo (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-lmo_0.9+svn6512-1_ar71xx.ipk.
Installing luci-cbi (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-cbi_0.9+svn6512-1_ar71xx.ipk.
Installing luci-uvl (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-uvl_0.9+svn6512-1_ar71xx.ipk.
Installing luci-i18n-english (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-i18n-english_0.10+svn7109-1_ar71xx.ipk.
Installing luci-ipkg (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-ipkg_0.9+svn6512-1_ar71xx.ipk.
Installing luci-theme-openwrt (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-theme-openwrt_0.10+svn7109-1_ar71xx.ipk.
Installing luci-theme-base (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-theme-base_0.10+svn7109-1_ar71xx.ipk.
Installing luci-lib-web (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-lib-web_0.10+svn7109-1_ar71xx.ipk.
Installing px5g (1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//px5g_1_ar71xx.ipk.
Configuring liblua.
Configuring libuci-lua.
Configuring lua.
Configuring luci-nixio.
Configuring luci-core.
Configuring luci-uci.
Configuring luci-http.
Configuring luci-sys.
Configuring luci-sgi-cgi.
Configuring luci-lmo.
Configuring luci-web.
Configuring luci-theme-base.
Configuring luci-uvl.
Configuring luci-cbi.
Configuring luci-i18n-english.
Configuring luci-admin-core.
Configuring uhttpd.
Configuring px5g.
Configuring luci-ipkg.
Configuring luci-admin-full.
Collected errors:
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/link.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/key.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/user.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/add.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/fieldadd.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/arrow.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/remove.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/edit.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/reload.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/apply.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/help.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/find.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/save.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/download.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/reset.gif
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi.js
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/sauth.lua
But that file is already provided by package * luci-web
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/config.lua
But that file is already provided by package * luci-web
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/http.lua
But that file is already provided by package * luci-web
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/dispatcher.lua
But that file is already provided by package * luci-web
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/cbi.lua
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/cacheloader.lua
But that file is already provided by package * luci-web
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/template.lua
But that file is already provided by package * luci-web
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/i18n.lua
But that file is already provided by package * luci-web
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/http/protocol/conditionals.lua
But that file is already provided by package * luci-http
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/http/protocol/date.lua
But that file is already provided by package * luci-http
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/http/protocol/mime.lua
But that file is already provided by package * luci-http
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/http/protocol.lua
But that file is already provided by package * luci-http
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/template/parser.so
But that file is already provided by package * luci-web
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/lvalue.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/valueheader.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/delegator.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/nsection.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/browser.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/cell_valuefooter.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/mvalue.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/tabcontainer.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/compound.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/dynlist.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/valuefooter.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/full_valuefooter.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/ucisection.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/fvalue.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/tvalue.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/tsection.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/map.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/tabmenu.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/button.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/filebrowser.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/nullsection.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/header.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/value.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/dvalue.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/simpleform.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/full_valueheader.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/tblsection.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/upload.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/footer.htm
But that file is already provided by package * luci-cbi
* check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/cell_valueheader.htm
But that file is already provided by package * luci-cbi
* opkg_install_cmd: Cannot install package luci-theme-openwrt.
root@OpenWrt:~$ /etc/init.d/uhttpd enable
root@OpenWrt:~$ /etc/init.d/uhttpd start
Generating RSA private key, 1024 bit long modulus
Generating selfsigned certificate with subject 'C=DE;ST=Berlin;L=Berlin;CN=OpenWrt;' and validity 2001-09-09 01:46:40-2003-09-09 01:46:40
root@OpenWrt:~$ opkg install uhttpd luci-admin-full luci-theme-openwrt px5g
Package uhttpd (22) installed in root is up to date.
Package luci-admin-full (0.9+svn6512-1) installed in root is up to date.
Installing luci-theme-openwrt (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-theme-openwrt_0.10+svn7109-1_ar71xx.ipk.
Package px5g (1) installed in root is up to date.
Configuring luci-theme-openwrt.
Znalezione posty: 4