#51 Le 27/03/2007, à 23:24
- njeudy
Re : 3G/EDGE et VPN "business everywhere" d'orange
Bonjour,
Comme disait VAAB, c'est moi le pote qui a testé avec mandriva et que ca marche
Bon, je viens d'installer la beta de feisty fawn et voila ou j'en suis:
- configuration de nozomi (apt-get install nozomi-source) sous Feisty ...
- ensuite recuperation des fichiers wvdial.conf et wvdial sur ce fil de discussion
ensuite compil de comgt ... (nickel juste installé g++ par rapport a l'install de base du dvd de feisty)
ensuite:
wvdial orange-entreprise
et la je suis connecté à internet sans aucun soucis, je browse et ca marche
Alors est ce que vous avez la mm chose ?
Pour la partie VPN, moi j'utilise au boulot openvpn, j'ai donc demandé à FT d'ouvrir ce port sur orange business car je ne vois pas pourquoi il accepte le vpn micosoft et pas les autres alors que le port de openvpn est "homologué" ...
Donc après insistance (et surtout le fait qu'on a pris 15 cartes edge ), le port est autorisé et donc je peux monter mon vpn tranquille et ca marche.
Pour info, la je poste avec ma connexion 3G
Voila, donc est ce que ca marche aussi pour vous ou pas ?
log de connexion:
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATM0
ATM0
OK
--> Sending: AT+CGDCONT=1,"IP","internet-entreprise"
AT+CGDCONT=1,"IP","internet-entreprise"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT 1800000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Mar 27 23:12:57 2007
--> Pid of pppd: 5881
--> Using interface ppp0
--> local IP address 193.251.234.96
--> remote IP address 10.64.64.64
--> primary DNS address 194.51.3.56
--> secondary DNS address 194.51.3.76
Hors ligne
#52 Le 28/03/2007, à 17:57
- albino2025
Re : 3G/EDGE et VPN "business everywhere" d'orange
Salut,
c'est cool si tu y arrives.
du coup, j'ai plusieurs questions...
d'abord, tu vpn il est gere par qui ? c'est ta boite qui le gere et tu te connecte via internet ou c'est ft qui gere tout et BEW t'ammenes directement sur ton reseau d'entreprise ? (j'ai peut etre pas ete tres clair)
ensuite, selon ta reponse, peux tu m'expliquer un peu comment tu configure openvpn, où tu trouve les infos de connexions....
Merci d'avance.
P.S.: moi j'ai fait une decouverte il y a un mois environ, c'est que ma carte orange est detecté dans ma vm ! donc j'arrive à me connecter avec le kit d'origine..... (mais depuis une vm )
Hors ligne
#53 Le 28/03/2007, à 21:00
- njeudy
Re : 3G/EDGE et VPN "business everywhere" d'orange
Alors voila,
Alors en fait voila, Orange (Globetrotter BEW ...) me donne une connexion internet. (je peux faire du web en gros )
A mon boulot (ou je suis admin reseau et linux), j'ai mis en place un serveur openvpn sur une adresse public, ce qui me permet de me connecter à partir du moment ou j'ai une connexion internet et le port 1194 d'ouvert des deux coté (ce que ne proposait pas BEXW par defaut)
Voyant que le port 1194 etait filtrer, j'ai demandé à FT de me l'autorisé, car c'est pas normal de forcer les gens a prendre un vpn cisco ou microsoft ...
Surpris qu'ils acceptent, le port 1194 est donc ok. (je ne sais pas si c'est par default ou juste pour mes cartes, mais je pense que c'est par defaut)
Pour openvpn, très simple:
- une passerelle linux avec une adresse ip public et le port 1194 ouvert.
- ensuite tu genere les cle ssl qui vont bien (y la doc sur le site d'openvpn, si j'en ferai une si tu as des soucis)
- ensuite tu créer les clé de ton premier client, tu change le fichier de conf opevpn et c'est tout.
une fois lancé, tu te retrouve sur le réseau local de ton entreprise comme par magie, et ca marche sous windows et linux ... c'est très simple et pratique.
voici un exemple de config du client:
remote IP_DU_SERVEUR 1194
dev tun
tls-client
cert njeudy.crt <- mon certificat ssl
key njeudy.key <- ma cle ssl
ca ca.crt <- le certificat ssl du serveur :)
pull <- ca veux dire que le serveur m'envoie les route et les dns et mon adresse ip (DHCP en gros)
# if needed, add a route to the vpn private subnet
# route 192.168.78.0 255.255.255.0 vpn_gateway
# keep-alive ping
ping 10 <- pour dire qu'il verifie la connexion de temps en temps
# enable LZO compression
comp-lzo
link-mtu 1400
# moderate verbosity
verb 4
n'hesite pas si tu as des soucis .. et surtout dis moi si c'est juste le vpn qui te bloque ou alors si deja tu n'as pas d'acccès à internet via la carte ...
Hors ligne
#54 Le 28/03/2007, à 22:11
- albino2025
Re : 3G/EDGE et VPN "business everywhere" d'orange
ok, c'est bien ce que j'avais cru comprendre.
merci d'avoir repondu si vite.
En fait, la solution orange que j'ai au boulot, me donne directement acces à mon intranet.
La partie vpn est geré par orange directement. Ca ùe donne pas acces au net comme toi.
et c'est donc cette partie "vpn orange" que je ne sais pas faire fonctionner..
Hors ligne
#55 Le 29/03/2007, à 09:09
- njeudy
Re : 3G/EDGE et VPN "business everywhere" d'orange
Ok, bon en fait le vpn orange c'est quoi ?
Je pense que c'est de l'ipsec ou un truc du style non ? tu peux m'en dire plus sur le type de VPN ?
Hors ligne
#56 Le 29/03/2007, à 09:52
- albino2025
Re : 3G/EDGE et VPN "business everywhere" d'orange
oui c'est un vpn ipsec.
Sous win, c"est gerer par le client Safenet.
On a un fichier de police fournie par orange qu'il faut charger dans safenet et qui permet d'etablir la connexion.
Hors ligne
#57 Le 30/03/2007, à 23:14
- hugues_
Re : 3G/EDGE et VPN "business everywhere" d'orange
pour être précis, le client safenet est en PSK+XAUTH
(clef partagé + login/password)
le problème c'est que la clef prépartagée est cryptée dans le fichier de conf et dans la base de registre, et que bien sur les clients "ouverts" ne savent pas l'utiliser...
J'ai renoncé à faire fonctionner le vpn sous linux a cause de ça, a moins de connaitre un gourou chez orange ou la personne qui fait le déploiement dans sa boite, impossible de paramètrer un client ipsec type racoon sans la vraie clef prépartagée non cryptée...
Sauf à ce qu' on m'explique comment faire.
#58 Le 02/04/2007, à 19:01
- lechevalierdunet
Re : 3G/EDGE et VPN "business everywhere" d'orange
Bonjour à tous,
Voici la liste des ports autorisés par defaut dans l'offre BE illimitée VPN et logiciels :
il y a bien déjà le 1194 ;-)
http://www.mobilite.fr.orange-business.com/public/oev4/html/toolkit/php/docrsc.php?id=2803
solutions d'infrastructures d'accès :
Citrix
> TCP 1494 : port standard
> TCP 1495 : port supplémentaire accès externe
> TCP 443 : HTTPS (sécurisation Citrix Secure Gateway)
> TCP 2598 : persistance de session Citrix
Microsoft TSE et autres solutions à base de RDP
> TCP 3389
autres ports ouverts :
DNS (résolution des noms des concentrateurs VPN en
adresses publiques notamment)
> UDP 53
SSH
> TCP 22
Solutions VPN :
PPTP
> TCP 1723 (contrôle)
> GRE (IP 47) (données)
L2TP
> UDP 1701
IPSec et L2TP/IPSec
> IP 50 (ESP)
> IP 51 (AH)
> UDP 500 (IKE ISAKMP)
SSL
> UDP 1194
> TCP 1194
Spécifique Cisco VPN
> UDP 10000
> TCP 10000
> UDP 4500
> TCP 5000
Spécifique Checkpoint VPN
> UDP 2746
> TCP 2746
> UDP 259
> TCP 264
> TCP 500
> TCP 18264
Spécifique Novell VPN
> UDP 353
> TCP 353
Spécifique Nortel VPN
> UDP 10001
Spécifique ATT VPN
> TCP 5080
> IP 57
Autres
> UDP 2233
#59 Le 02/04/2007, à 20:31
- njeudy
Re : 3G/EDGE et VPN "business everywhere" d'orange
heureusement que je l'ai demandé le compte 1194
Je suis plutôt content qu'il l'ait ouvert pour tous ...
Nicolas JEUDY
Hors ligne
#60 Le 03/04/2007, à 01:45
- saturn
Re : 3G/EDGE et VPN "business everywhere" d'orange
Hello !
Pourrais tu poser ici la configuration de ton serveur openvpn stp Nicolas ?
Et pour la génération des clés, se serait le bonheur si tu pouvais m'en dire un peu plus car j'ai pas mal de lacunes en anglais et je ne trouve pas grand chose sur le site d'openvpn.
En tout cas merci pour tes indications.
Antoine.
Hors ligne
#61 Le 03/04/2007, à 22:19
- 2fast4u
Re : 3G/EDGE et VPN "business everywhere" d'orange
Ravi de voir qu'il y a des tétus
J'ai quelque peu progressé, surtout, j'ai des réponses.
J'ai réussi à avoir au téléphone un des développeur du kit Bew (très sympat et disponible), il m'a confirmé que ça fonctionne avec openswan et que la clé psk est encryptée en MD5.
Je sais aussi qu'un kit de connection pour linux existe en beta-test, j'ai postulé auprès du commercial qui m'a dit faire le nécessaire, mais ça doit pas faire parti de ses priorités, j'attends depuis des nouvelles.
P.S.: moi j'ai fait une decouverte il y a un mois environ, c'est que ma carte orange est detecté dans ma vm ! donc j'arrive à me connecter avec le kit d'origine..... (mais depuis une vm
)
Aggrr, ça aurait pu mais j'ai Win2003 en VM et c'est pas gérer,
Mon abonnement fonctionne comme albino2025, j'ai accès directement au lan, et de là au wan (grand ouvert)
J'l'aurais un jour, j'l'aurais
Hors ligne
#62 Le 04/04/2007, à 09:31
- njeudy
Re : 3G/EDGE et VPN "business everywhere" d'orange
Bon j'ai pas eu le temps encore de poster la conf de openvpn,
en gros (et rapidement) j'utilise openvpn avec la conf serveur suivante:
dev tun
mode server
tls-server
ca keys/ca.crt
cert keys/office.crt
key keys/office.key
dh keys/dh1024.pem
log /var/log/openvpn.log
status /tmp/openvpn-status.txt
# 10.1.0.1 is our local VPN endpoint (office)
# 10.1.0.2 is our remote VPN endpoint (home)
ifconfig 10.1.0.1 10.1.0.2 <-- c'est pour l'exemple, il faut des adressage privé
ifconfig-pool 10.1.0.4 10.1.255.255 <-- pool pour le DHCP[
# Our up script will establish routes
# once the VPN is alive
push "route 10.1.0.1 255.255.255.255"
route 10.1.0.0 255.255.0.0 <-- on peut ajouter des routes
client-config-dir ccd
client-to-client
ensuite tous ce passe dans le repertoire ccd pour la config des clients. Il faut ajouter un fichier par client, portant le nom de l'identifiant définit dans la clé ssl.
par exemple, pour mon cas, mes clé sont identifié par le login (njeudy):
donc dans /etc/openvpn/ccd/njeudy j'ai ecris:
ifconfig-push 10.1.1.42 10.1.1.43 <-- adresse envoyé au client openvpn
push "route 192.168.0.0 255.255.255.0" <-- on peut aussi envoyer les route qui vont bien
Sinon, pour gérer les clés, j'utilise easy-rsa, un ensemble de script qui permet de simplifier le truc, il y a un lien sur le site de openvpn :
http://openvpn.net/easyrsa.html
Voila en gros comment ca se passe ... (bon c'est du rapide la )
Si vous avez des questions, je pourrais eventuellement passer un peu plus de temps sur le truc et faire un howto plus précis .. (le temps me manque un peu la)
Hors ligne
#63 Le 04/04/2007, à 11:23
- saturn
Re : 3G/EDGE et VPN "business everywhere" d'orange
Merci c'est super sympa !
Ma carte devrait pas trop tarder d'arriver, je vais pouvoir tester tout ça et je vous tiendrais informés.
Hors ligne
#64 Le 03/05/2007, à 16:04
- PiOuP
Re : 3G/EDGE et VPN "business everywhere" d'orange
Simplement pour dire que depuis Feisty Fawn, il n'y a plus besoin de compiler le driver nozomi et que la carte est reconnue ... On retrouve directement dans /dev les interfaces noz0, noz1, etc.
2fast4u as-tu des nouvelles de ton commercial au sujet de l'encription ou de l'éventualité d'un client BE pour linux car je n'arrive pas à monter ce $&%# de vpn !
Hors ligne
#65 Le 04/05/2007, à 20:05
- PiOuP
Re : 3G/EDGE et VPN "business everywhere" d'orange
albino2025 tu peux m'expliquer comment tu as fait pour que vmware voit ta carte 3G ?
Ches moi elle est bien reconnue sous linux, mais ce n'est pas pour autant que vmware le voie.
Hors ligne
#66 Le 04/05/2007, à 20:25
- albino2025
Re : 3G/EDGE et VPN "business everywhere" d'orange
albino2025 tu peux m'expliquer comment tu as fait pour que vmware voit ta carte 3G ?
Ches moi elle est bien reconnue sous linux, mais ce n'est pas pour autant que vmware le voie.
En fait, il faut ouvrir vmware. demarrer ton os. cliquez dans la fenetre pour etre sur d'etre dans l'os. Et ensuite seulement tu met la carte. Et la hop vmware la detecte. Des fois il y a un message disant que c'est deja utilisé par un autre pilote ou je ne sais quoi mais c pas grave.
Voila rien de bien sorcier, mais faut etre dans la vm avant de mettre la carte (c'est pour ca que je l'ai decouvert un jour par hasard).
Hors ligne
#67 Le 05/05/2007, à 19:00
- 2fast4u
Re : 3G/EDGE et VPN "business everywhere" d'orange
2fast4u as-tu des nouvelles de ton commercial au sujet de l'encription ou de l'éventualité d'un client BE pour linux car je n'arrive pas à monter ce $&%# de vpn !
Non, il fait le mort ce $&%# de commercial.
Je tenterai de rappeler le dev qui semblait plus ouvert d'esprit la semaine prochaine.
Hors ligne
#68 Le 07/05/2007, à 00:57
- saturn
Re : 3G/EDGE et VPN "business everywhere" d'orange
Petit retour d'experience de mon coté car j'ai enfin reçu ma carte.. et là le bonheur, tout marche nikel :-)
J'utilise donc OpenVPN comme l'avait conseillé njeudy, le seul petit soucis, c'est qu'il faut modifier la table de routage de mon pc client après établissement de la connexion au vpn. Autant cela fonctionnait très bien avec ma connexion wifi, autant cela ne marche pas avec la carte 3g.. je comprend pas pourquoi. M'enfin il suffit de faire :
route add -host IP_DU_SERVEUR_VPN dev ppp0
route del default dev ppp0
route add default dev tun0
Au passage, si vous avez des problèmes pour monter votre serveur OpenVPN ou pour configurer votre client, je vous conseil la lecture de cet excellent tuto sur le sujet, réalisé par l'association côte-d'orienne, Coagul.
Hors ligne
#69 Le 11/05/2007, à 11:51
- PiOuP
Re : 3G/EDGE et VPN "business everywhere" d'orange
Albino2025 je n'y arrive pas !!!
Je lance la virutal machine, puis je clique dedans , puis je branche ma carte 3g ... mais rien ne se passe.
La carte est pourtant bien détectée par mon linux :
[11552.800000] pccard: CardBus card inserted into slot 0
[11552.800000] nozomi 0000:16:00.0: Init, cards_found: 1
[11552.800000] nozomi 0000:16:00.0: Card type is: 2048
[11552.800000] PCI: Enabling device 0000:16:00.0 (0000 -> 0002)
[11552.800000] ACPI: PCI Interrupt 0000:16:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[11552.800000] nozomi 0000:16:00.0: Nozomi driver nozomi_tty
[11553.640000] nozomi 0000:16:00.0: Version of card: 1
[11553.640000] nozomi 0000:16:00.0: Initialization OK!
Est-ce que tu utilises vmware-server ou vmware worstation ? et quelle version ?
Merci d'avance pour ton aide
Hors ligne
#70 Le 11/05/2007, à 18:49
- albino2025
Re : 3G/EDGE et VPN "business everywhere" d'orange
bah en fait, moi j'ai le modele d'avant pour les cartes :
la fusion et non pas la fusion+
elle a pas besoin des drivers nozomi.
donc peut etre que ca ne fontionne pas avec les autres....
j'en ai au bureau, il faudrait que j'essaye (mais du coup il faut que je compile les drivers et tout et tout donc je n'aurais peut etre pas le temps tout de suite)
Hors ligne
#71 Le 12/05/2007, à 17:04
- PiOuP
Re : 3G/EDGE et VPN "business everywhere" d'orange
Merci pour ta réponse.
Depuis feisty tu n'as plus besoin de compiler le driver nozomi.
Chez moi la carte à été détectée automatiquement avec le driver nozomi.
Hors ligne
#72 Le 06/06/2007, à 09:51
- cedrxl
Re : 3G/EDGE et VPN "business everywhere" d'orange
Bonjour j ai bien suivi les instructions mais j ai tj la meme erreur j ai cherche mais impossible de résoudre le problème donc si vous pouviez m'orienter sa serais sympa;)
cedrxl@cedrxl-ubuntu:~$ wvdial sfr
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT&F&D2&C1S0=0
AT&F&D2&C1S0=0
OK
--> Sending: AT+CGDCONT=1,"IP","websfr"
AT+CGDCONT=1,"IP","websfr"
OK
--> Modem initialized.
--> Idle Seconds = 3000, disabling automatic reconnect.
--> Sending: ATD*99***1#
--> Waiting for carrier.
ATD*99***1#
CONNECT 1800000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Jun 6 09:43:46 2007
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 6193
--> Using interface ppp0
--> pppd: H8
--> [06][08]p[12][06][08]
--> pppd: H8
--> [06][08]p[12][06][08]
--> pppd: H8
--> [06][08]p[12][06][08]
--> pppd: H8
--> [06][08]p[12][06][08]
--> pppd: H8
--> [06][08]p[12][06][08]
--> pppd: H8
--> [06][08]p[12][06][08]
--> pppd: H8
--> [06][08]p[12][06][08]
--> Disconnecting at Wed Jun 6 09:44:23 2007
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
#73 Le 07/06/2007, à 16:32
- didgant
Re : 3G/EDGE et VPN "business everywhere" d'orange
Bonjour cedrx,
Bonjour j ai bien suivi les instructions mais j ai tj la meme erreur j ai cherche mais impossible de résoudre le problème donc si vous pouviez m'orienter sa serais sympa;)
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied --> --> PAP (Password Authentication Protocol) may be flaky. --> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
je pense que tu as un problème de droits sur les fichiers :
/etc/ppp/pap-secrets et /etc/ppp/chap-secrets car ton demon pppd n'arrive pas à les lire.
pour tester , je dis bien pour tester, mets les droits en lecture pour tout le monde et regardes qui est le propriétaire user et group des fichiers, pour affiner les droits par la suite.
si le problème persiste regardes voir du côté du log /var/log/message pour plus de détails
#74 Le 25/06/2007, à 17:09
- albino2025
Re : 3G/EDGE et VPN "business everywhere" d'orange
Merci pour ta réponse.
Depuis feisty tu n'as plus besoin de compiler le driver nozomi.
Chez moi la carte à été détectée automatiquement avec le driver nozomi.
ca y est, je me suis mis a feisty..... et j'ai mis vmware6..... et j'ai plus de carte fusion sous vmware... snif :'(
Hors ligne
#75 Le 25/06/2007, à 19:49
- ionel_pologne
Re : 3G/EDGE et VPN "business everywhere" d'orange
1-vérifier que la carte est reconnue :
2-retirer la carte
3-Installer le drivers
4-RéInseer la carte
5-vérifier, si tout c'est bien passé :6-Installer ensuite l'utilitaire de control de la carte
cd /usr/local/src
sudo wget http://www.pharscape.org/3G/comgt/comgt0.3.tgz
sudo mkdir comgt0.3
sudo tar xvf comgt0.3.tgz -C comgt0.3
cd comgt0.3
sudo make all
sudo make install7-s'enregistrer sur le réseau :
8-Créer deux fichiers de configue pour vwdail et ppp
Bonsoir au Pologne!
I've found this "how-to", but i cannot speak french as well, so if you don't mind i'd like to ask you about it in english:
I use ubuntu 7.04 and I'm trying third day to install PCMCIA card Globetrotter 3G+ (my provider is Orange). In ubuntu 7.04 i have drivers nozomi, so I don't need to make some of "steps' descibed by thierrybo. I started with step number 6.
After command
sudo make all
I've got:
user@laptop:~$ cd /home/user/Desktop/comgt.0.32
user@laptop:~/Desktop/comgt.0.32$ make
cc comgt.c -c
comgt.c:29:20: error: unistd.h: No such file or directory
comgt.c:30:19: error: stdio.h: No such file or directory
comgt.c:31:20: error: stdlib.h: No such file or directory
comgt.c:32:20: error: signal.h: No such file or directory
comgt.c:33:20: error: termio.h: No such file or directory
comgt.c:34:19: error: fcntl.h: No such file or directory
comgt.c:36:20: error: string.h: No such file or directory
comgt.c:37:22: error: sys/time.h: No such file or directory
comgt.c:38:18: error: time.h: No such file or directory
comgt.c:39:23: error: sys/types.h: No such file or directory
comgt.c:40:23: error: sys/ioctl.h: No such file or directory
comgt.c:41:22: error: sys/wait.h: No such file or directory
comgt.c:42:22: error: sys/stat.h: No such file or directory
In file included from comgt.c:43:
comgt.h: In function ‘get_code’:
comgt.h:532: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.h:546: error: ‘NULL’ undeclared (first use in this function)
comgt.h:546: error: (Each undeclared identifier is reported only once
comgt.h:546: error: for each function it appears in.)
comgt.c: At top level:
comgt.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
comgt.c:78: error: ‘B0’ undeclared here (not in a function)
comgt.c:89: error: ‘CS8’ undeclared here (not in a function)
comgt.c: In function ‘htime’:
comgt.c:146: error: storage size of ‘timenow’ isn’t known
comgt.c:147: error: ‘NULL’ undeclared (first use in this function)
comgt.c: In function ‘dormir’:
comgt.c:155: error: storage size of ‘timeout’ isn’t known
comgt.c: In function ‘dotestkey’:
comgt.c:163: error: ‘fd_set’ undeclared (first use in this function)
comgt.c:163: error: expected ‘;’ before ‘fds’
comgt.c:164: error: storage size of ‘timeout’ isn’t known
comgt.c:167: error: ‘fds’ undeclared (first use in this function)
comgt.c: In function ‘ext’:
comgt.c:175: error: ‘TCSETA’ undeclared (first use in this function)
comgt.c:176: warning: incompatible implicit declaration of built-in function ‘exit’
comgt.c: In function ‘vmsg’:
comgt.c:181: error: ‘time_t’ undeclared (first use in this function)
comgt.c:181: error: expected ‘;’ before ‘t’
comgt.c:185: warning: incompatible implicit declaration of built-in function ‘fprintf’
comgt.c:185: error: ‘stderr’ undeclared (first use in this function)
comgt.c:188: error: ‘t’ undeclared (first use in this function)
comgt.c:189: warning: assignment makes pointer from integer without a cast
comgt.c:190: warning: incompatible implicit declaration of built-in function ‘fprintf’
comgt.c: In function ‘printwhere’:
comgt.c:204: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:209: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c: In function ‘writecom’:
comgt.c:220: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c: In function ‘getonebyte’:
comgt.c:232: error: ‘fd_set’ undeclared (first use in this function)
comgt.c:232: error: expected ‘;’ before ‘rfds’
comgt.c:236: error: storage size of ‘timeout’ isn’t known
comgt.c:239: error: ‘rfds’ undeclared (first use in this function)
comgt.c:241: error: ‘NULL’ undeclared (first use in this function)
comgt.c: In function ‘dodump’:
comgt.c:266: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c: In function ‘serror’:
comgt.c:305: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:320: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c: In function ‘gettoken’:
comgt.c:368: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:373: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:378: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c: In function ‘getvalue’:
comgt.c:421: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:423: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:450: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:457: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:460: error: ‘R_OK’ undeclared (first use in this function)
comgt.c:462: error: ‘W_OK’ undeclared (first use in this function)
comgt.c:464: error: ‘X_OK’ undeclared (first use in this function)
comgt.c:466: error: ‘F_OK’ undeclared (first use in this function)
comgt.c:475: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c: In function ‘getstring’:
comgt.c:575: error: ‘FILE’ undeclared (first use in this function)
comgt.c:575: error: ‘fp’ undeclared (first use in this function)
comgt.c:576: error: ‘time_t’ undeclared (first use in this function)
comgt.c:576: error: expected ‘;’ before ‘t’
comgt.c:596: error: ‘t’ undeclared (first use in this function)
comgt.c:597: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:597: warning: passing argument 2 of ‘strcat’ makes pointer from integer without a cast
comgt.c:598: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:602: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:604: error: ‘NULL’ undeclared (first use in this function)
comgt.c:606: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:608: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:613: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:615: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:625: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:628: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:634: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:637: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:640: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:643: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:646: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:650: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:653: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:657: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:662: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:664: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:667: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:672: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:674: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:677: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:682: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:685: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:694: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:698: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:702: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:714: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:718: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:730: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:736: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:746: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:752: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:795: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:802: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c: In function ‘getdvalue’:
comgt.c:814: warning: incompatible implicit declaration of built-in function ‘sscanf’
comgt.c: In function ‘dolet’:
comgt.c:834: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c: In function ‘dowaitfor’:
comgt.c:874: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:876: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:896: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c: In function ‘setcom’:
comgt.c:921: error: invalid use of undefined type ‘struct termio’
comgt.c:921: error: ‘CBAUD’ undeclared (first use in this function)
comgt.c:921: error: ‘CSIZE’ undeclared (first use in this function)
comgt.c:921: error: ‘CSTOPB’ undeclared (first use in this function)
comgt.c:921: error: ‘CLOCAL’ undeclared (first use in this function)
comgt.c:921: error: ‘PARENB’ undeclared (first use in this function)
comgt.c:922: error: invalid use of undefined type ‘struct termio’
comgt.c:922: error: ‘CREAD’ undeclared (first use in this function)
comgt.c:923: error: ‘TCSETA’ undeclared (first use in this function)
comgt.c: In function ‘doset’:
comgt.c:929: error: storage size of ‘console’ isn’t known
comgt.c:934: error: ‘ECHO’ undeclared (first use in this function)
comgt.c:934: error: ‘ECHOE’ undeclared (first use in this function)
comgt.c:935: error: ‘TCGETA’ undeclared (first use in this function)
comgt.c:940: error: ‘TCSETA’ undeclared (first use in this function)
comgt.c:947: error: ‘CLOCAL’ undeclared (first use in this function)
comgt.c:966: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:977: error: ‘PARENB’ undeclared (first use in this function)
comgt.c:978: error: ‘PARODD’ undeclared (first use in this function)
comgt.c:984: error: ‘CS5’ undeclared (first use in this function)
comgt.c:985: error: ‘CS6’ undeclared (first use in this function)
comgt.c:986: error: ‘CS7’ undeclared (first use in this function)
comgt.c:994: error: ‘CSTOPB’ undeclared (first use in this function)
comgt.c:1000: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1003: error: ‘B50’ undeclared (first use in this function)
comgt.c:1004: error: ‘B75’ undeclared (first use in this function)
comgt.c:1005: error: ‘B110’ undeclared (first use in this function)
comgt.c:1006: error: ‘B150’ undeclared (first use in this function)
comgt.c:1007: error: ‘B300’ undeclared (first use in this function)
comgt.c:1008: error: ‘B600’ undeclared (first use in this function)
comgt.c:1009: error: ‘B1200’ undeclared (first use in this function)
comgt.c:1010: error: ‘B2400’ undeclared (first use in this function)
comgt.c:1011: error: ‘B4800’ undeclared (first use in this function)
comgt.c:1012: error: ‘B9600’ undeclared (first use in this function)
comgt.c:1013: error: ‘B19200’ undeclared (first use in this function)
comgt.c:1014: error: ‘B38400’ undeclared (first use in this function)
comgt.c:1015: error: ‘B57600’ undeclared (first use in this function)
comgt.c:1017: error: ‘B115200’ undeclared (first use in this function)
comgt.c:1021: error: ‘B460800’ undeclared (first use in this function)
comgt.c: In function ‘dogoto’:
comgt.c:1037: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c: In function ‘doif’:
comgt.c:1101: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c: In function ‘getstringindex’:
comgt.c:1155: warning: incompatible implicit declaration of built-in function ‘malloc’
comgt.c:1156: error: ‘NULL’ undeclared (first use in this function)
comgt.c: In function ‘doget’:
comgt.c:1170: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:1178: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c: In function ‘doprint’:
comgt.c:1200: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:1203: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1204: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:1209: warning: incompatible implicit declaration of built-in function ‘printf’
comgt.c:1209: error: ‘stdout’ undeclared (first use in this function)
comgt.c:1210: error: ‘stderr’ undeclared (first use in this function)
comgt.c:1212: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:1216: error: ‘filep’ undeclared (first use in this function)
comgt.c:1216: error: ‘NULL’ undeclared (first use in this function)
comgt.c: In function ‘doclose’:
comgt.c:1227: error: ‘TCSETA’ undeclared (first use in this function)
comgt.c:1228: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1241: error: ‘filep’ undeclared (first use in this function)
comgt.c:1241: error: ‘NULL’ undeclared (first use in this function)
comgt.c: In function ‘opengt’:
comgt.c:1251: warning: incompatible implicit declaration of built-in function ‘printf’
comgt.c:1253: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:1254: error: ‘O_RDWR’ undeclared (first use in this function)
comgt.c:1254: error: ‘O_EXCL’ undeclared (first use in this function)
comgt.c:1254: error: ‘O_NONBLOCK’ undeclared (first use in this function)
comgt.c:1254: error: ‘O_NOCTTY’ undeclared (first use in this function)
comgt.c:1256: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:1264: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1265: warning: incompatible implicit declaration of built-in function ‘printf’
comgt.c:1269: error: ‘TCGETA’ undeclared (first use in this function)
comgt.c:1270: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1275: error: invalid use of undefined type ‘struct termio’
comgt.c:1275: error: ‘CBAUD’ undeclared (first use in this function)
comgt.c:1276: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:1278: error: invalid use of undefined type ‘struct termio’
comgt.c:1278: error: ‘CSIZE’ undeclared (first use in this function)
comgt.c:1279: error: invalid use of undefined type ‘struct termio’
comgt.c:1279: error: ‘CLOCAL’ undeclared (first use in this function)
comgt.c:1280: error: invalid use of undefined type ‘struct termio’
comgt.c:1280: error: ‘CSTOPB’ undeclared (first use in this function)
comgt.c:1281: error: invalid use of undefined type ‘struct termio’
comgt.c:1281: error: ‘PARENB’ undeclared (first use in this function)
comgt.c:1281: error: ‘PARODD’ undeclared (first use in this function)
comgt.c:1282: error: invalid use of undefined type ‘struct termio’
comgt.c:1282: error: ‘IGNCR’ undeclared (first use in this function)
comgt.c:1282: error: ‘ICRNL’ undeclared (first use in this function)
comgt.c:1282: error: ‘IUCLC’ undeclared (first use in this function)
comgt.c:1282: error: ‘INPCK’ undeclared (first use in this function)
comgt.c:1282: error: ‘IXON’ undeclared (first use in this function)
comgt.c:1282: error: ‘IXANY’ undeclared (first use in this function)
comgt.c:1282: error: ‘IGNPAR’ undeclared (first use in this function)
comgt.c:1283: error: invalid use of undefined type ‘struct termio’
comgt.c:1283: error: ‘OPOST’ undeclared (first use in this function)
comgt.c:1283: error: ‘OLCUC’ undeclared (first use in this function)
comgt.c:1283: error: ‘OCRNL’ undeclared (first use in this function)
comgt.c:1283: error: ‘ONLCR’ undeclared (first use in this function)
comgt.c:1283: error: ‘ONLRET’ undeclared (first use in this function)
comgt.c:1284: error: invalid use of undefined type ‘struct termio’
comgt.c:1284: error: ‘ICANON’ undeclared (first use in this function)
comgt.c:1284: error: ‘XCASE’ undeclared (first use in this function)
comgt.c:1284: error: ‘ECHO’ undeclared (first use in this function)
comgt.c:1284: error: ‘ECHOE’ undeclared (first use in this function)
comgt.c:1284: error: ‘ECHONL’ undeclared (first use in this function)
comgt.c:1285: error: invalid use of undefined type ‘struct termio’
comgt.c:1286: error: invalid use of undefined type ‘struct termio’
comgt.c:1286: error: ‘VMIN’ undeclared (first use in this function)
comgt.c:1287: error: invalid use of undefined type ‘struct termio’
comgt.c:1287: error: ‘VTIME’ undeclared (first use in this function)
comgt.c:1288: error: invalid use of undefined type ‘struct termio’
comgt.c:1288: error: ‘VEOF’ undeclared (first use in this function)
comgt.c:1291: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c: In function ‘opendevice’:
comgt.c:1298: error: ‘O_RDWR’ undeclared (first use in this function)
comgt.c:1298: error: ‘O_EXCL’ undeclared (first use in this function)
comgt.c:1298: error: ‘O_NONBLOCK’ undeclared (first use in this function)
comgt.c:1298: error: ‘O_NOCTTY’ undeclared (first use in this function)
comgt.c:1299: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1300: warning: incompatible implicit declaration of built-in function ‘printf’
comgt.c:1306: error: ‘TCGETA’ undeclared (first use in this function)
comgt.c:1307: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1311: error: invalid use of undefined type ‘struct termio’
comgt.c:1311: error: ‘CBAUD’ undeclared (first use in this function)
comgt.c:1313: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:1314: error: ‘B50’ undeclared (first use in this function)
comgt.c:1315: error: ‘B75’ undeclared (first use in this function)
comgt.c:1316: error: ‘B110’ undeclared (first use in this function)
comgt.c:1317: error: ‘B300’ undeclared (first use in this function)
comgt.c:1318: error: ‘B600’ undeclared (first use in this function)
comgt.c:1319: error: ‘B1200’ undeclared (first use in this function)
comgt.c:1320: error: ‘B2400’ undeclared (first use in this function)
comgt.c:1321: error: ‘B4800’ undeclared (first use in this function)
comgt.c:1322: error: ‘B9600’ undeclared (first use in this function)
comgt.c:1323: error: ‘B19200’ undeclared (first use in this function)
comgt.c:1324: error: ‘B38400’ undeclared (first use in this function)
comgt.c:1325: error: ‘B115200’ undeclared (first use in this function)
comgt.c:1331: error: ‘B460800’ undeclared (first use in this function)
comgt.c:1333: error: invalid use of undefined type ‘struct termio’
comgt.c:1333: error: ‘CSIZE’ undeclared (first use in this function)
comgt.c:1334: error: invalid use of undefined type ‘struct termio’
comgt.c:1334: error: ‘CLOCAL’ undeclared (first use in this function)
comgt.c:1335: error: invalid use of undefined type ‘struct termio’
comgt.c:1335: error: ‘CSTOPB’ undeclared (first use in this function)
comgt.c:1336: error: invalid use of undefined type ‘struct termio’
comgt.c:1336: error: ‘PARENB’ undeclared (first use in this function)
comgt.c:1336: error: ‘PARODD’ undeclared (first use in this function)
comgt.c:1337: error: invalid use of undefined type ‘struct termio’
comgt.c:1337: error: ‘IGNCR’ undeclared (first use in this function)
comgt.c:1337: error: ‘ICRNL’ undeclared (first use in this function)
comgt.c:1337: error: ‘IUCLC’ undeclared (first use in this function)
comgt.c:1337: error: ‘INPCK’ undeclared (first use in this function)
comgt.c:1337: error: ‘IXON’ undeclared (first use in this function)
comgt.c:1337: error: ‘IXANY’ undeclared (first use in this function)
comgt.c:1337: error: ‘IGNPAR’ undeclared (first use in this function)
comgt.c:1338: error: invalid use of undefined type ‘struct termio’
comgt.c:1338: error: ‘OPOST’ undeclared (first use in this function)
comgt.c:1338: error: ‘OLCUC’ undeclared (first use in this function)
comgt.c:1338: error: ‘OCRNL’ undeclared (first use in this function)
comgt.c:1338: error: ‘ONLCR’ undeclared (first use in this function)
comgt.c:1338: error: ‘ONLRET’ undeclared (first use in this function)
comgt.c:1339: error: invalid use of undefined type ‘struct termio’
comgt.c:1339: error: ‘ICANON’ undeclared (first use in this function)
comgt.c:1339: error: ‘XCASE’ undeclared (first use in this function)
comgt.c:1339: error: ‘ECHO’ undeclared (first use in this function)
comgt.c:1339: error: ‘ECHOE’ undeclared (first use in this function)
comgt.c:1339: error: ‘ECHONL’ undeclared (first use in this function)
comgt.c:1340: error: invalid use of undefined type ‘struct termio’
comgt.c:1341: error: invalid use of undefined type ‘struct termio’
comgt.c:1341: error: ‘VMIN’ undeclared (first use in this function)
comgt.c:1342: error: invalid use of undefined type ‘struct termio’
comgt.c:1342: error: ‘VTIME’ undeclared (first use in this function)
comgt.c:1343: error: invalid use of undefined type ‘struct termio’
comgt.c:1343: error: ‘VEOF’ undeclared (first use in this function)
comgt.c:1346: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c: In function ‘doopen’:
comgt.c:1358: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:1362: error: ‘filep’ undeclared (first use in this function)
comgt.c:1362: error: ‘NULL’ undeclared (first use in this function)
comgt.c: In function ‘doscript’:
comgt.c:1397: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:1398: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:1399: warning: incompatible implicit declaration of built-in function ‘execl’
comgt.c:1426: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:1437: error: ‘FILE’ undeclared (first use in this function)
comgt.c:1437: error: ‘infd’ undeclared (first use in this function)
comgt.c:1495: warning: incompatible implicit declaration of built-in function ‘abort’
comgt.c: In function ‘main’:
comgt.c:1543: warning: assignment makes pointer from integer without a cast
comgt.c:1544: error: ‘NULL’ undeclared (first use in this function)
comgt.c:1544: warning: incompatible implicit declaration of built-in function ‘strlen’
comgt.c:1545: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:1547: warning: incompatible implicit declaration of built-in function ‘strcpy’
comgt.c:1549: error: ‘FILE’ undeclared (first use in this function)
comgt.c:1549: error: ‘fp’ undeclared (first use in this function)
comgt.c:1554: error: ‘filep’ undeclared (first use in this function)
comgt.c:1556: error: ‘TCGETA’ undeclared (first use in this function)
comgt.c:1557: warning: incompatible implicit declaration of built-in function ‘malloc’
comgt.c:1577: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1596: warning: incompatible implicit declaration of built-in function ‘printf’
comgt.c:1614: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1646: warning: incompatible implicit declaration of built-in function ‘strcat’
comgt.c:1648: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1711: warning: incompatible implicit declaration of built-in function ‘sprintf’
comgt.c:1721: warning: incompatible implicit declaration of built-in function ‘fprintf’
comgt.c:1721: error: ‘stderr’ undeclared (first use in this function)
comgt.c:1730: warning: incompatible implicit declaration of built-in function ‘fprintf’
comgt.c:1737: warning: incompatible implicit declaration of built-in function ‘sprintf’
make: *** [comgt.o] Error 1
Could anyone tell me what does it mean? And what should I do to install this "comgt" program?
My computer is laptop Acer series 3690.