Na heel wat probeersels en raad heb ik nog altijd het prangende probleem met het instaleren van mijn modem in Fedora Linux.De meeste van jullie vroegen om meer informatie voor het oplossen van dit probleem. Ik heb wat geprutst in linux en ik heb mijn printer aan de praat gekregen en vervolgens wat foutmelding en informatie afgedrukt.Hieronder een overzicht.
INFORMATIE
----------------
Modem : Sagem F@st 800 - 840 (USB-modem)
Linux: Fedora LINUX Kernel 2.4
Handleiding bij Driver :
-------------------------------
README for Analog Devices USB ADSL Driver for Linux
===================================================
Information
-----------
This driver is implemented as a standard Linux ethernet network driver,
adhering to the requirements of RFC2684 for encapsulation of ethernet packets
over ATM. Therefore, configuration of the driver with regards to the Linux
network stack is handled using the existing network driver configuration method.
Requirements and restrictions
-----------------------------
This driver has only been verified with RedHat 7.2.
It requires the usb and hotplug components.
This driver only supports one physical USB ADSL modem attached to the computer.
Building the driver
-------------------
Because this is a kernel module, you must have the kernel source code installed.
The Makefile requires that the kernel source be located in /usr/src/linux.
If you have installed the kernel source in another directory, you can create a
symbolic link from /usr/src/linux to the real kernel source location.
For example, if your source is in /usr/src/linux-2.4.7-10, you should make a
sybolic link by executing the command:
ln -s /usr/src/linux-2.4.7-10 /usr/src/linux
Once you have extracted the driver source to a local directory, simply run "make"
from that directory to build the components required to run the driver. To
install the components on the local machine, become root and run "make install".
This will:
copy the driver binary adiusbadsl.o to your usb drivers directory
copy a script to /etc/hotplug/usb
install the helper application adictrl to /usr/local/bin
create /etc/analog directory
copy firmware files rtbld*.bnm & adiusbadsl.conf to /etc/analog
Note that in the default configuration, the driver will be built to use
the ISOCHRONOUS endpoints for incoming data. This will provide the best
performance. If for some reason you wish to use BULK I/O only, modify the
makefile to enable the USEBULK define. Do this by uncommenting line 52 in Makefile.
Driver loading
--------------
To get the driver to load, just plug the modem into an available USB port. The
driver will be automatically matched and loaded by the hotplug module. Note that
after the driver has succesfully loaded, the DSP firmware is sent to the driver
by the helper application adictrl located in /usr/local/bin. Also, after the
driver has successfully loaded, the hotplug module will also load the CDCEther
and ACM drivers. Even though these drivers are loaded, they will not have any
interaction or relationship to the devices. They are loaded because the device
enumerates as a COMM device class, ETHERNET control model.
Configuring the driver
----------------------
As mentioned above, the driver is configured like a normal linux network driver.
Once the device is plugged in and the driver has loaded, run "ifconfig -a" to
see a list of installed network drivers. Use ifconfig to assign an IP address
to the USB ADSL interface, or use whatever other network configuration tool
you prefer. As an example, in my test environment my machine has a 100mb ethernet
card and the ADI USB ADSL modem. So, the USB ADSL modem shows up in ifconfig
as "eth1". I then configure the modem for TCPIP traffic by by running
"ifconfig eth1 192.168.2.2". My host ADSL machine is configured for 192.168.2.3,
so at that point I can send TCPIP traffic between the two machines. Once you've
chosen your configuration, you can embed it in /etc/hotplug/usb/adiusbadsl to
automatically set this configuration whenever the system boots or the modem is
plugged in.
Configuring device options
--------------------------
To change device specific options, edit the /etc/analog/adiusbadsl.conf file.
Updating the DSP firmware
-------------------------
To use a newer revision of the DSP firmware, follow these instructions:
Unplug the modem from the computer
Copy the updated *.bnm files into the /etc/analog directory.
Unload the driver with "rmmod adiusbadsl"
Plug the modem back in and the new .bnm files will be used.
Updating the USB firmware
-------------------------
The USB firmware is integrated into the source code of the driver. Specifically,
the USB firmware is located in ADIUTIL/Firmware8051.h. Care should be taken to
update the proper set of data in that file, as the file currently contains
firmware for both the 930 and EAGLE revisions of this modem.
Checking modem status
---------------------
No GUI status utility is provided with this release of the linux driver. At this
point, there are no plans to provide such a utility for linux. However, the same
status information as is available on other platforms can be queried by typeing
"cat /proc/adimodem". This can be done at any time that the modem is plugged in.
Release specifics
-----------------
This is release 1.00Beta, released on 03/12/2002.
Known issues
------------
None
Fixed in this release
---------------------
Model failed to re-train after unplugging RJ11 cord.
Poor performance with UHCI controllers.
Modem would not work if plugged in during reboot.
Ik ben tot aan het installen geraakt , dat ging allemaal prima. De eerst installatie verliep vlekkeloos maar als ik het geheel opnieuw wou instaleren kreeg ik volgende errors (deze zijn zeer wss te wijten aan het feit dat de drivers reeds geïnstaleerd zijn):
[root@localhost ADL-DRIVER]# make
make -C . /USER
make[l]: Binnengaan van map '/root/AOLDRIVER/USER'
make[l]: Weggaan uit map '/root/ADL-DRIVER/USER'
[root@localhost ADL-DRIVER]# make install
make -C ./USER install
make[l]: Binnengaan van map '/root/ADIJ>RIVER/USER'
ADI USB ADSL usermode program installed successfully.
make[l]: Weggaan uit map '/root/ADIJ>RIVER/USER'
/usr/bin/install: cannot stat 'OTHER/*.bnm': Onbekend bestand of map make: *** [install] Fout 1
[root@localhost ADIJ>RIVER]#
Dan, uit de informatie, gegeven door jullie kwam ik in de map /sbin volgende bestanden tegen die ook op enkele foutmelding stootte:
adsl-setup in /sbin
------------------------
** Summary of what you entered **
Ethernet Interface: ethO
User name: root
Activate-on-demand: No
DNS addresses: Supplied by ISP's server
Firewalling:STANDALONE
User Control:Yes
adsl-connect in /sbin
---------------------------
ipchains: Protocol not available
Using interface pppO
Connect: pppO <--> /dev/pts/3
LCP: timeout sending Config-Requests Connection terminated.
pppoe: Timeout waiting for PADO packets
of
ipchains: Protocol not available
Using interface ppp1
Connect: ppp1<--> /dev/pts/4
LeP: timeout sending Config-Requests Connection terminated.
pppoe: Timeout waiting for PADO packets
Je ziet dat er "of" staat, dit is omdat er beurtelings gewisseld wordt tss de 2 elke keer als ik het bestand laat uitvoeren.De ene keer is het dus met ppp0 en de anders keer is het ppp1.Ook zie je daarboven een summary van wat ik invulde tijdens de setup die me werd voorgelegd. Hij rare hier aan is dat ik MOET kiezen uit een netwerkadapter (eth0) maar dat ik mijn modem via usb aansluit....
Hieronder ook nog de resultaten van lsmod:
srJltod 18168 0 (autoclean)
microcode 4700 0 (autoclean)
ide-scsi 12208 0
ide-cd 35776 0
cdrom 33728 0 [srJltod ide-cd]
ohci1394 29160 0 (unused)
ieee1394 204676 0 [ohci1394]
floppy 58012 0 (autoclean)
sg 36492 0 (autoclean)
sdJltod 13772 0 (autoclean)
usb-storage 76192 0
scsuod 108168 5 [sr-ffiod ide-scsi sg sdJltod usb-storage]
printer 8960 0
aCID 7840 0 (unused)
audio 46744 1
soundcore 6468 3 [audio]
keybdev 2976 0 (unused)
bid 24708 0 (unused)
ehci-hcd 20264 0 (unused)
usb-uhci 26380 0 (unused)
usbcore 79168 1 [usb-storage printer aCID audio bid ehci-hcd usb-uhci]
mousedev 5556 1 (autoclean)
input 5888 0 (autoclean) [keybdev bid mousedev]
ext3 - 71300 2
jbd 52084 2 [ext3]
ppp_synctty 7936 0 (unused)
ppp_async 9472 1
ppp....generic 24476 3 [ppp_synctty ppp_async]
slhc 6756 0 [ppp....generic]
parport_pc 19076 1 (autoclean)
lp 9060 0 (autoclean)
parport 37056 1 (autoclean) [parport-pc lp]
autofs 13364 0 (autoclean) (unuppp_synctty 7936 0
(unused)
ppp_async 9472 1
ppp....generic 24476 3 [ppp_synctty ppp_async]
slhc 6756 0 [ppp....generic]
parport_pc 19076 1 (autoclean)
lp 9060 0 (autoclean)
parport 37056 1 (autoclean) [parport-pc lp]
autofs 13364 0 (autoclean) (unused)
rfconun 38016 0 (autoclean)
l2cap 19948 2 (autoclean) [rfcomm]
bluez 40324 1 (autoclean) [rfconun l2cap]
e100 56100 1
iptJEJEcr 4344 1 (autoclean)
ipLstate 1080 4 (autoclean)
ip_conntrack 29256 1 (autoclean) [ipt_state]
ipt ableJilt er 2444 1 (autoclean)
ip_tables 15776 3 [iptJEJECT ipt_state iptableJilter]
srJl\od 18168 0 (autoclean)
microcode 4700 0 (autoclean)
ide-scsi 12208 0
ide-cd 35776 0
cdrom 33728 0 [srJl\od ide-cd]
ohci1394 29160 0 (unused)
ieee1394 204676 0 [ohci1394]
floppy 58012 0 (autoclean)
sg 36492 0 (autoclean)
sdJllod 13772 0 (autoclean)
usb-storage 76192 0
scsiJllod 108168 5 [srJl\od ide-scsi sg sdJllod usb-storage]
printer 8960 0
aCID 7840 0 (unused)
audio 46744 1
soundcore 6468 3 [audio]
keybdev 2976 0 (unused)
bid 24708 0 (unused)
ehci-hcd 20264 0 (unused)
usb-uhci 26380 0 (unused)
usbcore 79168 1 [usb-storage printer aCID audio bid ehci-hcd usb-uhci]
mousedev 5556 1 (autoclean)
input 5888 0 (autoclean) [keybdev bid mousedev]
ext3 71300 2
jbd 52084 2 [ext3]
sed)
rfconun 38016 0 (autoclean)
l2cap 19948 2 (autoclean) [rfcomm]
bluez 40324 1 (autoclean) [rfconun l2cap]
e100 56100 1
iptJEJEcr 4344 1 (autoclean)
ipt_state 1080 4 (autoclean)
ip_conntrack 29256 1 (autoclean) [ipt_state]
iptableJilter 2444 1 (autoclean)
ip_tables 15776 3 [iptJEJECT ipt_state iptableJilter]
ALVAST BEDANKt voor jullie hulp , ik hoop dat er nu iemand is die me kan helpen...
PS.: Ik ben vrij n00b in Linux , gooi aub niet met termen of compilers e.d. zonder dat je ze een beetje uitlegt...
INFORMATIE
----------------
Modem : Sagem F@st 800 - 840 (USB-modem)
Linux: Fedora LINUX Kernel 2.4
Handleiding bij Driver :
-------------------------------
README for Analog Devices USB ADSL Driver for Linux
===================================================
Information
-----------
This driver is implemented as a standard Linux ethernet network driver,
adhering to the requirements of RFC2684 for encapsulation of ethernet packets
over ATM. Therefore, configuration of the driver with regards to the Linux
network stack is handled using the existing network driver configuration method.
Requirements and restrictions
-----------------------------
This driver has only been verified with RedHat 7.2.
It requires the usb and hotplug components.
This driver only supports one physical USB ADSL modem attached to the computer.
Building the driver
-------------------
Because this is a kernel module, you must have the kernel source code installed.
The Makefile requires that the kernel source be located in /usr/src/linux.
If you have installed the kernel source in another directory, you can create a
symbolic link from /usr/src/linux to the real kernel source location.
For example, if your source is in /usr/src/linux-2.4.7-10, you should make a
sybolic link by executing the command:
ln -s /usr/src/linux-2.4.7-10 /usr/src/linux
Once you have extracted the driver source to a local directory, simply run "make"
from that directory to build the components required to run the driver. To
install the components on the local machine, become root and run "make install".
This will:
copy the driver binary adiusbadsl.o to your usb drivers directory
copy a script to /etc/hotplug/usb
install the helper application adictrl to /usr/local/bin
create /etc/analog directory
copy firmware files rtbld*.bnm & adiusbadsl.conf to /etc/analog
Note that in the default configuration, the driver will be built to use
the ISOCHRONOUS endpoints for incoming data. This will provide the best
performance. If for some reason you wish to use BULK I/O only, modify the
makefile to enable the USEBULK define. Do this by uncommenting line 52 in Makefile.
Driver loading
--------------
To get the driver to load, just plug the modem into an available USB port. The
driver will be automatically matched and loaded by the hotplug module. Note that
after the driver has succesfully loaded, the DSP firmware is sent to the driver
by the helper application adictrl located in /usr/local/bin. Also, after the
driver has successfully loaded, the hotplug module will also load the CDCEther
and ACM drivers. Even though these drivers are loaded, they will not have any
interaction or relationship to the devices. They are loaded because the device
enumerates as a COMM device class, ETHERNET control model.
Configuring the driver
----------------------
As mentioned above, the driver is configured like a normal linux network driver.
Once the device is plugged in and the driver has loaded, run "ifconfig -a" to
see a list of installed network drivers. Use ifconfig to assign an IP address
to the USB ADSL interface, or use whatever other network configuration tool
you prefer. As an example, in my test environment my machine has a 100mb ethernet
card and the ADI USB ADSL modem. So, the USB ADSL modem shows up in ifconfig
as "eth1". I then configure the modem for TCPIP traffic by by running
"ifconfig eth1 192.168.2.2". My host ADSL machine is configured for 192.168.2.3,
so at that point I can send TCPIP traffic between the two machines. Once you've
chosen your configuration, you can embed it in /etc/hotplug/usb/adiusbadsl to
automatically set this configuration whenever the system boots or the modem is
plugged in.
Configuring device options
--------------------------
To change device specific options, edit the /etc/analog/adiusbadsl.conf file.
Updating the DSP firmware
-------------------------
To use a newer revision of the DSP firmware, follow these instructions:
Unplug the modem from the computer
Copy the updated *.bnm files into the /etc/analog directory.
Unload the driver with "rmmod adiusbadsl"
Plug the modem back in and the new .bnm files will be used.
Updating the USB firmware
-------------------------
The USB firmware is integrated into the source code of the driver. Specifically,
the USB firmware is located in ADIUTIL/Firmware8051.h. Care should be taken to
update the proper set of data in that file, as the file currently contains
firmware for both the 930 and EAGLE revisions of this modem.
Checking modem status
---------------------
No GUI status utility is provided with this release of the linux driver. At this
point, there are no plans to provide such a utility for linux. However, the same
status information as is available on other platforms can be queried by typeing
"cat /proc/adimodem". This can be done at any time that the modem is plugged in.
Release specifics
-----------------
This is release 1.00Beta, released on 03/12/2002.
Known issues
------------
None
Fixed in this release
---------------------
Model failed to re-train after unplugging RJ11 cord.
Poor performance with UHCI controllers.
Modem would not work if plugged in during reboot.
Ik ben tot aan het installen geraakt , dat ging allemaal prima. De eerst installatie verliep vlekkeloos maar als ik het geheel opnieuw wou instaleren kreeg ik volgende errors (deze zijn zeer wss te wijten aan het feit dat de drivers reeds geïnstaleerd zijn):
[root@localhost ADL-DRIVER]# make
make -C . /USER
make[l]: Binnengaan van map '/root/AOLDRIVER/USER'
make[l]: Weggaan uit map '/root/ADL-DRIVER/USER'
[root@localhost ADL-DRIVER]# make install
make -C ./USER install
make[l]: Binnengaan van map '/root/ADIJ>RIVER/USER'
ADI USB ADSL usermode program installed successfully.
make[l]: Weggaan uit map '/root/ADIJ>RIVER/USER'
/usr/bin/install: cannot stat 'OTHER/*.bnm': Onbekend bestand of map make: *** [install] Fout 1
[root@localhost ADIJ>RIVER]#
Dan, uit de informatie, gegeven door jullie kwam ik in de map /sbin volgende bestanden tegen die ook op enkele foutmelding stootte:
adsl-setup in /sbin
------------------------
** Summary of what you entered **
Ethernet Interface: ethO
User name: root
Activate-on-demand: No
DNS addresses: Supplied by ISP's server
Firewalling:STANDALONE
User Control:Yes
adsl-connect in /sbin
---------------------------
ipchains: Protocol not available
Using interface pppO
Connect: pppO <--> /dev/pts/3
LCP: timeout sending Config-Requests Connection terminated.
pppoe: Timeout waiting for PADO packets
of
ipchains: Protocol not available
Using interface ppp1
Connect: ppp1<--> /dev/pts/4
LeP: timeout sending Config-Requests Connection terminated.
pppoe: Timeout waiting for PADO packets
Je ziet dat er "of" staat, dit is omdat er beurtelings gewisseld wordt tss de 2 elke keer als ik het bestand laat uitvoeren.De ene keer is het dus met ppp0 en de anders keer is het ppp1.Ook zie je daarboven een summary van wat ik invulde tijdens de setup die me werd voorgelegd. Hij rare hier aan is dat ik MOET kiezen uit een netwerkadapter (eth0) maar dat ik mijn modem via usb aansluit....
Hieronder ook nog de resultaten van lsmod:
srJltod 18168 0 (autoclean)
microcode 4700 0 (autoclean)
ide-scsi 12208 0
ide-cd 35776 0
cdrom 33728 0 [srJltod ide-cd]
ohci1394 29160 0 (unused)
ieee1394 204676 0 [ohci1394]
floppy 58012 0 (autoclean)
sg 36492 0 (autoclean)
sdJltod 13772 0 (autoclean)
usb-storage 76192 0
scsuod 108168 5 [sr-ffiod ide-scsi sg sdJltod usb-storage]
printer 8960 0
aCID 7840 0 (unused)
audio 46744 1
soundcore 6468 3 [audio]
keybdev 2976 0 (unused)
bid 24708 0 (unused)
ehci-hcd 20264 0 (unused)
usb-uhci 26380 0 (unused)
usbcore 79168 1 [usb-storage printer aCID audio bid ehci-hcd usb-uhci]
mousedev 5556 1 (autoclean)
input 5888 0 (autoclean) [keybdev bid mousedev]
ext3 - 71300 2
jbd 52084 2 [ext3]
ppp_synctty 7936 0 (unused)
ppp_async 9472 1
ppp....generic 24476 3 [ppp_synctty ppp_async]
slhc 6756 0 [ppp....generic]
parport_pc 19076 1 (autoclean)
lp 9060 0 (autoclean)
parport 37056 1 (autoclean) [parport-pc lp]
autofs 13364 0 (autoclean) (unuppp_synctty 7936 0
(unused)
ppp_async 9472 1
ppp....generic 24476 3 [ppp_synctty ppp_async]
slhc 6756 0 [ppp....generic]
parport_pc 19076 1 (autoclean)
lp 9060 0 (autoclean)
parport 37056 1 (autoclean) [parport-pc lp]
autofs 13364 0 (autoclean) (unused)
rfconun 38016 0 (autoclean)
l2cap 19948 2 (autoclean) [rfcomm]
bluez 40324 1 (autoclean) [rfconun l2cap]
e100 56100 1
iptJEJEcr 4344 1 (autoclean)
ipLstate 1080 4 (autoclean)
ip_conntrack 29256 1 (autoclean) [ipt_state]
ipt ableJilt er 2444 1 (autoclean)
ip_tables 15776 3 [iptJEJECT ipt_state iptableJilter]
srJl\od 18168 0 (autoclean)
microcode 4700 0 (autoclean)
ide-scsi 12208 0
ide-cd 35776 0
cdrom 33728 0 [srJl\od ide-cd]
ohci1394 29160 0 (unused)
ieee1394 204676 0 [ohci1394]
floppy 58012 0 (autoclean)
sg 36492 0 (autoclean)
sdJllod 13772 0 (autoclean)
usb-storage 76192 0
scsiJllod 108168 5 [srJl\od ide-scsi sg sdJllod usb-storage]
printer 8960 0
aCID 7840 0 (unused)
audio 46744 1
soundcore 6468 3 [audio]
keybdev 2976 0 (unused)
bid 24708 0 (unused)
ehci-hcd 20264 0 (unused)
usb-uhci 26380 0 (unused)
usbcore 79168 1 [usb-storage printer aCID audio bid ehci-hcd usb-uhci]
mousedev 5556 1 (autoclean)
input 5888 0 (autoclean) [keybdev bid mousedev]
ext3 71300 2
jbd 52084 2 [ext3]
sed)
rfconun 38016 0 (autoclean)
l2cap 19948 2 (autoclean) [rfcomm]
bluez 40324 1 (autoclean) [rfconun l2cap]
e100 56100 1
iptJEJEcr 4344 1 (autoclean)
ipt_state 1080 4 (autoclean)
ip_conntrack 29256 1 (autoclean) [ipt_state]
iptableJilter 2444 1 (autoclean)
ip_tables 15776 3 [iptJEJECT ipt_state iptableJilter]
ALVAST BEDANKt voor jullie hulp , ik hoop dat er nu iemand is die me kan helpen...
PS.: Ik ben vrij n00b in Linux , gooi aub niet met termen of compilers e.d. zonder dat je ze een beetje uitlegt...