non è vero, è un ottimo modem. in 5 anni non hai mai dato problemi.
ma bando alle ciance…dunque è proprio impossibile installarlo su Fedora16?
non è vero, è un ottimo modem. in 5 anni non hai mai dato problemi.
ma bando alle ciance…dunque è proprio impossibile installarlo su Fedora16?
nulla è impossibile, al più improbabile.
facci vedere una cosa, togli e metti la presa usb del modem e mostra:
$ dmesg|tail -n 60
$ dmesg|grep firm
SCOLLEGATO:
dmesg|tail -n 60
18.374087] fedora-storage-init[856]: OK ]
18.616879] fedora-storage-init[863]: Setting up Logical Volume Management: No volume groups found
18.624760] fedora-storage-init[863]: OK ]
18.739377] lvm[869]: No volume groups found
18.820723] systemd-tmpfiles[873]: Successfully loaded SELinux database in 23ms 202us, size on heap is 363K.
18.908315] udev-configure-printer[838]: failed to connect to CUPS server; giving up
19.057070] nf_conntrack version 0.5.0 (16028 buckets, 64112 max)
19.063946] iptables.init[882]: iptables: Applying firewall rules: OK ]
19.100379] ip6_tables: (C) 2000-2006 Netfilter Core Team
19.115564] ip6tables.init[883]: ip6tables: Applying firewall rules: OK ]
19.121520] auditd[885]: Started dispatcher: /sbin/audispd pid: 932
19.126450] audispd[932]: priority_boost_parser called with: 4
19.126462] audispd[932]: max_restarts_parser called with: 10
19.127316] audispd[932]: audispd initialized with q_depth=120 and 1 active plugins
19.128048] auditd[885]: Init complete, auditd 2.1.3 listening for events (startup state enable)
19.158651] NetworkManager[918]: NetworkManager[918]: <info> NetworkManager (version 0.9.1.90-5.git20110927.fc16) is starting...
19.158834] NetworkManager[918]: <info> NetworkManager (version 0.9.1.90-5.git20110927.fc16) is starting...
19.158913] NetworkManager[918]: NetworkManager[918]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
19.158939] NetworkManager[918]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
19.206745] avahi-daemon[943]: Found user 'avahi' (UID 70) and group 'avahi' (GID 70).
19.206758] avahi-daemon[943]: Successfully dropped root privileges.
19.206768] avahi-daemon[943]: avahi-daemon 0.6.30 starting up.
19.212549] acpid[948]: starting up with netlink and the input layer
19.212561] acpid[948]: skipping incomplete file /etc/acpi/events/videoconf
19.212570] acpid[948]: 1 rule loaded
19.212578] acpid[948]: waiting for events: event logging is off
19.238456] avahi-daemon[943]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
19.378346] sandbox[964]: Starting sandbox/etc/rc.d/init.d/sandbox: line 58: success: command not found
19.380793] sandbox[964]: /etc/rc.d/init.d/sandbox: line 58: failure: command not found
19.428384] NetworkManager[918]: NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
19.428472] NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
19.428657] NetworkManager[918]: NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
19.428683] NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
19.428844] NetworkManager[918]: NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
19.428870] NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
19.443809] abrtd[940]: Init complete, entering main loop
19.447271] systemd-logind[944]: New seat seat0.
19.448222] avahi-daemon[943]: Successfully called chroot().
19.448232] avahi-daemon[943]: Successfully dropped remaining capabilities.
19.449646] avahi-daemon[943]: Loading service file /services/ssh.service.
19.449656] avahi-daemon[943]: Loading service file /services/udisks.service.
19.449665] avahi-daemon[943]: Network interface enumeration completed.
19.449673] avahi-daemon[943]: Registering HINFO record with values 'I686'/'LINUX'.
19.450472] avahi-daemon[943]: Server startup complete. Host name is pippo.local. Local service cookie is 827010494.
19.450483] avahi-daemon[943]: Service "pippo" (/services/udisks.service) successfully established.
19.450492] avahi-daemon[943]: Service "pippo" (/services/ssh.service) successfully established.
19.468752] dbus-daemon[965]: dbus[965]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
19.469046] dbus[965]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
19.673739] 8139too 0000:04:04.0: eth0: link down
19.674215] ADDRCONF(NETDEV_UP): eth0: link is not ready
19.717666] 8021q: 802.1Q VLAN Support v1.8
48.351305] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
54.542504] 8139too 0000:04:04.0: eth0: link up, 10Mbps, half-duplex, lpa 0x0000
54.542735] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
54.646895] 8139too 0000:04:04.0: eth0: link down
64.658016] eth0: no IPv6 routers present
67.888405] fuse init (API version 7.17)
67.901560] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
68.461894] SELinux: initialized (dev sdg2, type fuseblk), uses genfs_contexts
133.704100] usb 3-2: USB disconnect, device number 2
COLLEGATO:
dmesg|tail -n 60
18.908315] udev-configure-printer[838]: failed to connect to CUPS server; giving up
19.057070] nf_conntrack version 0.5.0 (16028 buckets, 64112 max)
19.063946] iptables.init[882]: iptables: Applying firewall rules: OK ]
19.100379] ip6_tables: (C) 2000-2006 Netfilter Core Team
19.115564] ip6tables.init[883]: ip6tables: Applying firewall rules: OK ]
19.121520] auditd[885]: Started dispatcher: /sbin/audispd pid: 932
19.126450] audispd[932]: priority_boost_parser called with: 4
19.126462] audispd[932]: max_restarts_parser called with: 10
19.127316] audispd[932]: audispd initialized with q_depth=120 and 1 active plugins
19.128048] auditd[885]: Init complete, auditd 2.1.3 listening for events (startup state enable)
19.158651] NetworkManager[918]: NetworkManager[918]: <info> NetworkManager (version 0.9.1.90-5.git20110927.fc16) is starting...
19.158834] NetworkManager[918]: <info> NetworkManager (version 0.9.1.90-5.git20110927.fc16) is starting...
19.158913] NetworkManager[918]: NetworkManager[918]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
19.158939] NetworkManager[918]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
19.206745] avahi-daemon[943]: Found user 'avahi' (UID 70) and group 'avahi' (GID 70).
19.206758] avahi-daemon[943]: Successfully dropped root privileges.
19.206768] avahi-daemon[943]: avahi-daemon 0.6.30 starting up.
19.212549] acpid[948]: starting up with netlink and the input layer
19.212561] acpid[948]: skipping incomplete file /etc/acpi/events/videoconf
19.212570] acpid[948]: 1 rule loaded
19.212578] acpid[948]: waiting for events: event logging is off
19.238456] avahi-daemon[943]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
19.378346] sandbox[964]: Starting sandbox/etc/rc.d/init.d/sandbox: line 58: success: command not found
19.380793] sandbox[964]: /etc/rc.d/init.d/sandbox: line 58: failure: command not found
19.428384] NetworkManager[918]: NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
19.428472] NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
19.428657] NetworkManager[918]: NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
19.428683] NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
19.428844] NetworkManager[918]: NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
19.428870] NetworkManager[918]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
19.443809] abrtd[940]: Init complete, entering main loop
19.447271] systemd-logind[944]: New seat seat0.
19.448222] avahi-daemon[943]: Successfully called chroot().
19.448232] avahi-daemon[943]: Successfully dropped remaining capabilities.
19.449646] avahi-daemon[943]: Loading service file /services/ssh.service.
19.449656] avahi-daemon[943]: Loading service file /services/udisks.service.
19.449665] avahi-daemon[943]: Network interface enumeration completed.
19.449673] avahi-daemon[943]: Registering HINFO record with values 'I686'/'LINUX'.
19.450472] avahi-daemon[943]: Server startup complete. Host name is pippo.local. Local service cookie is 827010494.
19.450483] avahi-daemon[943]: Service "pippo" (/services/udisks.service) successfully established.
19.450492] avahi-daemon[943]: Service "pippo" (/services/ssh.service) successfully established.
19.468752] dbus-daemon[965]: dbus[965]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
19.469046] dbus[965]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
19.673739] 8139too 0000:04:04.0: eth0: link down
19.674215] ADDRCONF(NETDEV_UP): eth0: link is not ready
19.717666] 8021q: 802.1Q VLAN Support v1.8
48.351305] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
54.542504] 8139too 0000:04:04.0: eth0: link up, 10Mbps, half-duplex, lpa 0x0000
54.542735] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
54.646895] 8139too 0000:04:04.0: eth0: link down
64.658016] eth0: no IPv6 routers present
67.888405] fuse init (API version 7.17)
67.901560] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
68.461894] SELinux: initialized (dev sdg2, type fuseblk), uses genfs_contexts
133.704100] usb 3-2: USB disconnect, device number 2
147.504032] usb 3-2: new full speed USB device number 3 using uhci_hcd
147.705037] usb 3-2: New USB device found, idVendor=0483, idProduct=0138
147.705042] usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=2
147.705046] usb 3-2: Product: ADSL MODEM
147.705049] usb 3-2: SerialNumber: 0000000000000000
dmesg|grep firm non mi da nessun output.
sono riuscito a compilare i driver http://code.google.com/p/unicorn-ii-adsl-usb-linux-driver/, dovevo installare una versione del kernel-devel compatibile con il mio kernel linux:
yum install kernel-devel-3.1.0-7.fc16.i686
[pippo@pippo unicorn]$ make
make -C /lib/modules/3.1.0-7.fc16.i686/build M=/home/pippo/Downloads/unicorn
make[1]: Entering directory `/usr/src/kernels/3.1.0-7.fc16.i686'
LD /home/pippo/Downloads/unicorn/built-in.o
CC [M] /home/pippo/Downloads/unicorn/src/unicorn_usbdrv.o
/home/pippo/Downloads/unicorn/src/unicorn_usbdrv.c:275:22: warning: ‘TNumberOfCarrier’ initialized and declared ‘extern’ [enabled by default]
g++ -mregparm=3 -fno-rtti -fno-exceptions -DDRIVER_VERSION=\"USB-ADL-7-2.0-0.2.0.11\" -DPKG_VERSION= -D_USB_DRIVER -DDEBUG=1 -c /home/pippo/Downloads/unicorn/src/interruptmonitor.cpp -o /home/pippo/Downloads/unicorn/src/interruptmonitor.o
CC [M] /home/pippo/Downloads/unicorn/src/usb_protocolcreator.o
/home/pippo/Downloads/unicorn/src/usb_protocolcreator.c: In function ‘USB_ProtocolCreator_writeBlock’:
/home/pippo/Downloads/unicorn/src/usb_protocolcreator.c:53:5: warning: ISO C90 forbids mixed declarations and code -Wdeclaration-after-statement]
CC [M] /home/pippo/Downloads/unicorn/src/accessmechanism.o
g++ -mregparm=3 -fno-rtti -fno-exceptions -DDRIVER_VERSION=\"USB-ADL-7-2.0-0.2.0.11\" -DPKG_VERSION= -D_USB_DRIVER -DDEBUG=1 -c /home/pippo/Downloads/unicorn/src/C-interface.cpp -o /home/pippo/Downloads/unicorn/src/C-interface.o
CC [M] /home/pippo/Downloads/unicorn/src/linrapi.o
g++ -mregparm=3 -fno-rtti -fno-exceptions -DDRIVER_VERSION=\"USB-ADL-7-2.0-0.2.0.11\" -DPKG_VERSION= -D_USB_DRIVER -DDEBUG=1 -c /home/pippo/Downloads/unicorn/src/msw.cpp -o /home/pippo/Downloads/unicorn/src/msw.o
CC [M] /home/pippo/Downloads/unicorn/./src/crc.o
g++ -mregparm=3 -fno-rtti -fno-exceptions -DDRIVER_VERSION=\"USB-ADL-7-2.0-0.2.0.11\" -DPKG_VERSION= -D_USB_DRIVER -DDEBUG=1 -c /home/pippo/Downloads/unicorn/src/amas.cpp -o /home/pippo/Downloads/unicorn/src/amas.o
g++ -mregparm=3 -fno-rtti -fno-exceptions -DDRIVER_VERSION=\"USB-ADL-7-2.0-0.2.0.11\" -DPKG_VERSION= -D_USB_DRIVER -DDEBUG=1 -c /home/pippo/Downloads/unicorn/src/amu.cpp -o /home/pippo/Downloads/unicorn/src/amu.o
g++ -mregparm=3 -fno-rtti -fno-exceptions -DDRIVER_VERSION=\"USB-ADL-7-2.0-0.2.0.11\" -DPKG_VERSION= -D_USB_DRIVER -DDEBUG=1 -c /home/pippo/Downloads/unicorn/src/bsp.cpp -o /home/pippo/Downloads/unicorn/src/bsp.o
CC [M] /home/pippo/Downloads/unicorn/src/unicorn_ethdrv.o
LD [M] /home/pippo/Downloads/unicorn/unicorn_usb_eth.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/pippo/Downloads/unicorn/src/.interruptmonitor.o.cmd for /home/pippo/Downloads/unicorn/src/interruptmonitor.o
CC /home/pippo/Downloads/unicorn/unicorn_usb_eth.mod.o
LD [M] /home/pippo/Downloads/unicorn/unicorn_usb_eth.ko
make[1]: Leaving directory `/usr/src/kernels/3.1.0-7.fc16.i686'
[root@pippo unicorn]# make install
mkdir -p /lib/modules/3.1.0-7.fc16.i686/extra
install -m 644 unicorn_usb_eth.ko /lib/modules/3.1.0-7.fc16.i686/extra
/sbin/depmod -ae
WARNING: -e needs -E or -F
Ora finalmente il modem si accende!
però non riesce in nessun modo ad agganciarsi alla linea, il led ADSL lampeggia all’infinito ![]()
nel README dei driver c’è scritto che bisogna smanettare con il modprobe per impostare le configurazione dell’internet provider.
per Tele2 le impostazioni sono le seguenti:
quindi in teoria dovrei scrivere:
modprobe unicorn_usb_eth ActivationMode=3 VPI=8 VCI=35 PROTOCOL=pppoatm ENCAPS=llc-encap
però purtroppo non funziona, ho provato tutte le combinazioni possibili ma non riesce comunque a collegaris ![]()
questo è il README:
INTRODUCTION:
-------------
The software for the UNICORN II ADSL USB card consists of one loadable driver, the unicorn_usb_eth.ko.The unicorn_atm driver is a standard Linux ATM driver, that performs segmentation and reassembly (SAR) and flow control. The unicorn_usb driver contains the ADSL modem software and hardware related functions.
The software has been tested with the Linux Kernel 2.6.3 and 2.6.16-16 kernel.
End-to-End Connection
---------------------
To establish the PPP connection you should install the rp-pppoe-x.x.x package. Once rp-pppoe-x.x.x package is installed you can start the following procedure to establish the connection.
For a PPPoA connection:
-----------------------
# modprobe unicorn_usb_eth ActivationMode=3 VPI=8 VCI=40 PROTOCOL=pppoatm ENCAPS=vc-encaps
# adsl-connect.
Note: VPI, VCI and ENCAPS are as per service provider's guide lines
For a PPPoE connection:
-----------------------
# modprobe unicorn_usb_eth ActivationMode=3 VPI=8 VCI=41 PROTOCOL=pppoe ENCAPS=llc-encaps
# adsl-connect.
Note: VPI, VCI and ENCAPS are as per service provider's guide lines
For a BRIDGED (RFC2684) connection:
----------------------------------
# modprobe unicorn_usb_eth ActivationMode=3 VPI=7 VCI=33 PROTOCOL=br2684 ENCAPS=llc-encaps
# ifconfig dsl0 138.200.200.8 netmask 255.255.255.0
Note: VPI, VCI, ENCAPS and IP address are as per service provider's guide lines
For a ROUTED (RFC2684) connection you can do this:
--------------------------------------------------
# modprobe unicorn_usb_eth ActivationMode=3 VPI=10 VCI=45 PROTOCOL=ipoatm ENCAPS=vc-encaps
# ifconfig dsl0 155.120.120.8 netmask 255.255.255.0
Note: VPI, VCI, ENCAPS and IP address are as per service provider's guide lines
To have the connection start at boot time the commands mentioned should be added to the end of /etc/rc.d/rc.local.
Check in the syslog that the drivers are started OK. The ADSL line should come up automatically. SHOWTIME in the log or in the status means that ADSL connection is up and ATM cells may be transmitted and received.
Depending on your network setup, you will need additional software as with any other ADSL ATM card. For bridged ethernet (RFC2684), the br2684.o module and brctl is needed. For PPPoE, any pppoe client over the bridged interface (nas0) should work (Roaring Penguin pppoe client has been tested).
Bridged (RFC2684) and PPP over Ethernet:
Depending on your kernel, you may need to patch the kernel and enable the option "RFC1483/2684 Bridged protcols" under "Networking options". Also ATM support needs to be enabled. Also the user space daemon "brctl" is needed.
PPP over ATM:
For PPP over ATM, the module pppoatm.o is needed, together with the pppd plugin pppoatm.so and a version of pppd that supports plugins.
Currently version ppp-2.4.0b2 supports PPPoATM plugins. A patched version ready for PPPoATM can be found at http://www.sourceforge.net/.
PPPoATM specific pppd options:
llc-encaps: use LLC encapsulation for PPPoATM
vc-encaps: use VC multiplexing for PPPoATM (default)
MODULE PARAMETERS:
-----------------
The module parameters can be passed to the module when the module is loaded (insmod or modprobe).
ActivationMode: This parameter sets in what mode the ADSL modem should be activated.
ANSI mode is 1, G.lite is 2, G.dmt is 4 and MULTI mode is 3.
If you know what mode your DSLAM operates in, use this mode. If not select either
ANSI or MULTI mode.
DownstreamRate: The maximum downstream rate in Kbit/sec.
AutoActivation: Set this to 1 if your ADSL modem to start automatically (default 1).
DebugLevel: To debug the driver, set this to a value different from 0 and enable DEBUG
when compiling.
LedScenario: Select the LED behaviour 0 (Brussels LED), 1 (Antwerp LED), 2 (Ghent LED). Default 1.
Loopbackmode: Loopback ATM cells in digital chip 0(disable), 1(enable). Default 0.
RetryTime: Time modem tries to reach showtime (default 2000 msec).
VPI/VCI: Enter VPI and VCI as for DSLAM configuration.
ENCAPS: Encapslations( llc-encaps and vc-encaps), default llc-encaps.
PROTOCOL: Protocol for connection
pppoatm for PPPOA, pppoe for PPPoE, br2684 for RFC2684_BRIDGED, ipoatm for RFC2684_ROUTED. Default RFC2684_BRIDGED.
RELEASE NOTES:
--------------
Version USB-APL-7-2.0-0.2.0.6
. Unicorn_usb_eth.ko works in all alternate USB settings (Bulk, ISO)
. Control & status application upgraded for Unicorn II
Version USB-APL-7-2.0-0.2.0.7
. Code clean up action: old stuff has been removed
Version USB-APL-7-2.0-0.2.0.8
. Global destructors are called when Unicorn driver is removed
. Default Modem Software activation mode is 3 (Multimode Annex A)
Version USB-APL-7-2.0-0.2.0.10
. Improved FTP upload throughput
Version USB-APL-7-2.0-0.2.0.11
. Annex B and BDT support in driver and control & status application
. Improved build procedure
Version USB-APL-7-2.0-0.2.0.12
. this version released with new modem software USB-AML-7-2.0-0.2.0.41
Version USB-APL-7-2.0-0.2.0.13
. removed PCI stuff
. implimented modules_install option
. README file updated
Version USB-APL-7-2.0-0.2.0.14
. removed unnecessary files
Version USB-APL-7-2.0-0.2.0.15
. fix for modem plug in/out crash
. new modem software USB-AML-7-2.0-0.2.0.50
Version USB-APL-7-2.0-0.2.0.16
. new modem software USB-AML-7-2.0-0.2.0.55
Version USB-APL-7-2.0-0.2.0.17
new modem software USB-AML-7-2.0-0.2.0.66
Under CSA Config tab updated to show the PROTOCOL name when driver installed
Version USB-APL-7-2.0-0.2.0.18
modem software USB-AML-7-2.0-0.2.0.66 + built in linux libs
Under CSA Source to compile on fedora Core 2
Version USB-APL-7-2.0-0.2.0.18
modem software USB-AML-7-2.0-0.2.0.66 + built in linux libs
Under CSA Source to compile on fedora Core 2
Version USB-APL-7-2.0-0.2.0.19
Updated CSA
Version USB-APL-7-2.0-0.2.0.20
CSA window is configured
supports kernel till 2.6.16-16
non so come sia potuto accadere, ma prima il modem si è agganciato alla linea:
2887.927027] usb 3-2: new full speed USB device number 3 using uhci_hcd
2888.129035] usb 3-2: New USB device found, idVendor=0483, idProduct=0138
2888.129040] usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=2
2888.129044] usb 3-2: Product: ADSL MODEM
2888.129047] usb 3-2: SerialNumber: 0000000000000000
2888.492272] unicorn_usb: rapi init called
2888.500024] unicorn_usb: PROTOCOL=pppoatm,VPI=8,VCI=35,ENCAPS=llc-encaps
2888.500047] unicorn_usb: MAC=00:40:52:5f:40:cd
2888.501302] unicorn_msw: Event Reported (12): Restart Not Acceptable
2888.501327] unicorn_msw: Event Reported (12): Restart Not Acceptable
2888.501348] unicorn_msw: Event Reported (12): Restart Not Acceptable
2888.501397] unicorn_msw: FmPollingRate=1000ms,InitTimeout=20000ms,ActTimeout=300000
2888.565039] unicorn_msw: USB> powerUp_Modem_Chipset completed
2888.856097] usbcore: registered new interface driver unicorn_usb
2889.312050] unicorn_msw: Current Modem State (3): ACTIVATING
2889.349028] unicorn_msw: Event Reported (3): Initializing
2889.477043] unicorn_msw: Current Modem State (4): Ghs_HANDSHAKING
2893.015053] unicorn_msw: Current Modem State (6): INITIALIZING
2902.486059] unicorn_msw: Event Reported (4): Showtime
2902.651209] unicorn_msw: Current Modem State (9): SHOWTIME_L0
però non sapevo come fare per collegarlo a internet quindi l’ho scollegato…e ora non riesce più ad agganciarsi… 