Zum Inhalt springen

Linux Treiber installieren


Schwarzl

Empfohlene Beiträge

Hallo Leute,

ich hab ein kleines Problem. Ich habe ein USB ADSL Modem von Allied Telesyn (AT-AR215). Dafür gibts allerdings keinen unterstützten Treiber für Linux von Allied Telesyn. Allerdings hat man mich darauf hingewiesen, daß es einen Treiber von einem Linux Kunden gibt. Unter http://www.rodsbooks.com/broadband/drivers.html findet man dazu alle benötigten Informationen. So weit, so gut. Leider beschränken sich meine Linux Kenntnisse auf ein bisschen probieren meinerseits. Es ist zwar eine Anleitung beigelegt, allerdings komm ich mit der nicht viel weiter. Kann mir einer von euch erklären, wie ich den Treiber installiere (bitte genaue Beschreibung)??? Wär nämlich echt schön, wenn ich mit meinem Linux auch ins Internet kommen könnte.

Danke

Schwarzl

PS: Linux Distribution - SuSe Linux 9.0 Professional

Link zu diesem Kommentar
Auf anderen Seiten teilen

Hallo,

nun ja, bei mir fing es schonmal damit an, daß ich das install - Skript nicht ausführen konnte. Ich war zwar als "root" in der Shell eingeloogt, er sagte mir trotzdem, daß ich keine Berechtigung hätte.

Dann war ich auch noch etwas verwirrt. Bei dem Treiber waren zwei Installationsanleitungen dabei, und ich wußte jetzt nicht, welche ich verwenden sollte. Ich wollte das Modem eigentlich zur Benutzung des Internets verwenden,

Wär echt nett, wenn du den ein oder anderen Tipp hast.

Danke Schwarzl

Link zu diesem Kommentar
Auf anderen Seiten teilen

Ok, das "install" -Skript konnte ich nicht ausführen, da die Berechtigungen nicht gestimmt haben (durfte nur gelesen werden). Hab ich geändert und ausgeführt. Dann wollte ich "make" ausführen, hab dann aber eine riesige Anzahl von Fehlermeldungen bekommen. Meistens haben irgendwelche Header Dateien nicht gepaßt oder irgendwelche Strukturen (structs) waren fehlerhaft. Muß ich bei "make" irgendwas besonderes beachten? In der Anleitung steht dazu nichts besonderes diesbezüglich drin.

Link zu diesem Kommentar
Auf anderen Seiten teilen

Na gut, du wolltest es so. Ist ein bisschen lang, darum zeige ich mal nur die ersten paar Zeilen. Hoffentlich hilft das weiter.

gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -I./ADIUTIL -O2 -c -o AdiUsbAdslDriver.o AdiUsbAdslDriver.c

In file included from ADIUTIL/Adiutil.h:49,

from AdiUsbAdslDriver.c:29:

ADIUTIL/Buffers.h:102: error: parse error before "urb_t"

ADIUTIL/Buffers.h:102: warning: no semicolon at end of struct or union

ADIUTIL/Buffers.h:103: warning: type defaults to `int' in declaration of `QUEUED_URB_BUFFER'

ADIUTIL/Buffers.h:103: warning: data definition has no type or storage class

ADIUTIL/Buffers.h:161: error: parse error before "urb_t"

ADIUTIL/Buffers.h:161: warning: no semicolon at end of struct or union

ADIUTIL/Buffers.h:162: warning: type defaults to `int' in declaration of `INCOMING_BUFFER'

ADIUTIL/Buffers.h:162: warning: data definition has no type or storage class

ADIUTIL/Buffers.h:176: error: parse error before "urb_t"

ADIUTIL/Buffers.h:176: warning: no semicolon at end of struct or union

ADIUTIL/Buffers.h:178: error: parse error before '}' token

ADIUTIL/Buffers.h:178: warning: type defaults to `int' in declaration of `OUTGOING_BUFFER'

ADIUTIL/Buffers.h:178: warning: data definition has no type or storage class

In file included from ADIUTIL/Adiutil.h:51,

from AdiUsbAdslDriver.c:29:

ADIUTIL/Hardware.h:36: error: parse error before "urb_t"

ADIUTIL/Hardware.h:36: warning: no semicolon at end of struct or union

ADIUTIL/Hardware.h:37: warning: type defaults to `int' in declaration of `urbIdma'

ADIUTIL/Hardware.h:37: warning: data definition has no type or storage class

ADIUTIL/Hardware.h:38: error: parse error before "urbRead"

ADIUTIL/Hardware.h:38: warning: type defaults to `int' in declaration of `urbRead'

ADIUTIL/Hardware.h:38: warning: data definition has no type or storage class

ADIUTIL/Hardware.h:39: error: parse error before "urbWrite"

ADIUTIL/Hardware.h:39: warning: type defaults to `int' in declaration of `urbWrite'

ADIUTIL/Hardware.h:39: warning: data definition has no type or storage class

ADIUTIL/Hardware.h:40: error: parse error before '*' token

ADIUTIL/Hardware.h:40: warning: type defaults to `int' in declaration of `pUrbReadIso'

ADIUTIL/Hardware.h:40: warning: data definition has no type or storage class

ADIUTIL/Hardware.h:73: error: parse error before "SegmentationBuffer"

ADIUTIL/Hardware.h:73: warning: type defaults to `int' in declaration of `SegmentationBuffer'

ADIUTIL/Hardware.h:73: warning: data definition has no type or storage class

ADIUTIL/Hardware.h:126: error: parse error before '}' token

ADIUTIL/Hardware.h:126: warning: type defaults to `int' in declaration of `Hardware'

ADIUTIL/Hardware.h:126: warning: data definition has no type or storage class

In file included from ADIUTIL/Adiutil.h:53,

from AdiUsbAdslDriver.c:29:

ADIUTIL/Protos.h:31: error: parse error before '*' token

ADIUTIL/Protos.h:31: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:32: error: parse error before '*' token

ADIUTIL/Protos.h:32: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:37: error: parse error before '*' token

ADIUTIL/Protos.h:37: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:38: error: parse error before '*' token

ADIUTIL/Protos.h:38: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:43: error: parse error before '*' token

ADIUTIL/Protos.h:43: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:44: error: parse error before '*' token

ADIUTIL/Protos.h:44: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:45: error: parse error before '*' token

ADIUTIL/Protos.h:45: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:49: error: parse error before '*' token

ADIUTIL/Protos.h:49: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:50: error: parse error before '*' token

ADIUTIL/Protos.h:50: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:51: error: parse error before '*' token

ADIUTIL/Protos.h:51: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:53: error: parse error before '*' token

ADIUTIL/Protos.h:53: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:58: error: parse error before '*' token

ADIUTIL/Protos.h:58: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:60: error: parse error before '*' token

ADIUTIL/Protos.h:60: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:65: error: parse error before '*' token

ADIUTIL/Protos.h:65: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:66: error: parse error before '*' token

ADIUTIL/Protos.h:66: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:68: error: parse error before '*' token

ADIUTIL/Protos.h:68: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:79: error: parse error before '*' token

ADIUTIL/Protos.h:79: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:80: error: parse error before '*' token

ADIUTIL/Protos.h:80: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:85: error: parse error before '*' token

ADIUTIL/Protos.h:85: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:86: error: parse error before '*' token

ADIUTIL/Protos.h:86: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:87: error: parse error before '*' token

ADIUTIL/Protos.h:87: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:88: error: parse error before '*' token

ADIUTIL/Protos.h:88: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:103: error: parse error before '*' token

ADIUTIL/Protos.h:103: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:104: error: parse error before '*' token

ADIUTIL/Protos.h:104: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:105: error: parse error before '*' token

ADIUTIL/Protos.h:105: warning: function declaration isn't a prototype

ADIUTIL/Protos.h:106: error: parse error before '*' token

ADIUTIL/Protos.h:106: warning: function declaration isn't a prototype

Link zu diesem Kommentar
Auf anderen Seiten teilen

Soweit sogut. Hab "urb_t" durch "struct urb" ersetzt. Die Fehlermeldungen haben sich nun arg reduziert. Hier jetzt noch der Rest, was der Compiler als Fehler ausgibt:

gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -I./ADIUTIL -O2 -c -o AdiUsbAdslDriver.o AdiUsbAdslDriver.c

In file included from ADIUTIL/Adiutil.h:54,

from AdiUsbAdslDriver.c:29:

ADIUTIL/Macros.h:63:1: warning: "min" redefined

In file included from ADIUTIL/Adiutil.h:34,

from AdiUsbAdslDriver.c:29:

/usr/src/linux/include/linux/kernel.h:175:1: warning: this is the location of the previous definition

In file included from ADIUTIL/Adiutil.h:54,

from AdiUsbAdslDriver.c:29:

ADIUTIL/Macros.h:64:1: warning: "max" redefined

In file included from ADIUTIL/Adiutil.h:34,

from AdiUsbAdslDriver.c:29:

/usr/src/linux/include/linux/kernel.h:181:1: warning: this is the location of the previous definition

AdiUsbAdslDriver.c:622:43: missing terminating " character

AdiUsbAdslDriver.c:623:54: missing terminating " character

AdiUsbAdslDriver.c:1047:1: unterminated argument list invoking macro "ZAP"

AdiUsbAdslDriver.c: In function `adi_start_xmit':

AdiUsbAdslDriver.c:1047: error: `ZAP' undeclared (first use in this function)

AdiUsbAdslDriver.c:1047: error: (Each undeclared identifier is reported only once

AdiUsbAdslDriver.c:1047: error: for each function it appears in.)

AdiUsbAdslDriver.c:1047: error: parse error at end of input

AdiUsbAdslDriver.c:47: warning: `adi_set_multicast' used but never defined

AdiUsbAdslDriver.c:48: warning: `adi_tx_timeout' used but never defined

AdiUsbAdslDriver.c:49: warning: `adi_read_proc' used but never defined

AdiUsbAdslDriver.c:50: warning: `adi_user' used but never defined

make: *** [AdiUsbAdslDriver.o] Error 1

Über noch so einen Tipp wär ich recht dankbar.

Schwarzl

Link zu diesem Kommentar
Auf anderen Seiten teilen

Dein Kommentar

Du kannst jetzt schreiben und Dich später registrieren. Wenn Du ein Konto hast, melde Dich jetzt an, um unter Deinem Benutzernamen zu schreiben.

Gast
Auf dieses Thema antworten...

×   Du hast formatierten Text eingefügt.   Formatierung wiederherstellen

  Nur 75 Emojis sind erlaubt.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Editor leeren

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...