Kan ikke forbinde til skolens netværk (PPTP) med ubuntu 8.10

Spørgsmål eller problemer med kablet netværk, trådløst netværk, netværkshåndteringen eller andet som vedrører netværk.
bramming
Indlæg: 4
Tilmeldt: 1. feb 2009, 20:59

Kan ikke forbinde til skolens netværk (PPTP) med ubuntu 8.10

Indlægaf bramming » 1. feb 2009, 21:22

Hej. Er efterhånden blevet godt træt af Vista så har valgt at installere Ubuntu. Indtil videre synes jeg at det er gået ret godt, jeg har dog et kæmpe problem. På min skole (HTX i lyngby) bruger vi en VPN forbindelse. Jeg har store problemer med at få forbindelsen op og stå. Jeg snakkede med dem nede i IT-supporten forleden, og de sagde at de "troede" at de brugte PPTP, men ellers vidste de ikke rigtigt. Så mit første spørgsmål er, hvordan ved jeg hvad de bruger?
Et andet problem er , at man plejer at skulle downloade et program, som så opsætter forbindelsen rigtigt. Jeg har prøvet at køre det over wine, men der sker ikke det helt store. Altså programmet kører fint, og det lader til at installere, men så udover det virker det ikke. Jeg har prøvet at installere pakker som:

PPTP-linux
KVPNC
network-manager-pptp

Det ENESTE jeg reelt ved om netværket er, at deres gateway er 10.128.0.1, men ellers ved jeg ikke så meget. Jeg har prøvet at sætte forbindelsen op med kvpnc, og ved hjælp af at klikke på ikonet øverst oppe (det der netværk) og trykke "Vpn connections -> configure vpn -> add", men uden held. Tutorials har jeg læst mange af, men uden held. Jeg har dog, været inde i wine og så set på de filer der er blevet installeret for at nettet burde virke (altså installationen man fik af skolen). Her er så indholdet af filerne, måske er der en der kan tyde det?

Først har vi filen guest.cmp:

Kode: Vælg alt

[Profile Format]

Version=4



[Connection Manager]

CMSFile=Guest\Guest.cms

Domain=ETEC



Så har vi filen guest.cms:

Kode: Vælg alt

[Profile Format]

Version=4



[ISP]

PBFile=

RegionFile=

PBURL=

Mask&SignOn=0x0001

Match&SignOn=0x0000

Mask&SignUp=0x0002

Match&SignUp=0x0002

Mask&Modem=0x0004

Match&Modem=0x0000

Mask&ISDN=0x0008

Match&ISDN=0x0000

Mask&Custom1=0x0010

Match&Custom1=0x0010

Mask&Custom2=0x0080

Match&Custom2=0x0080

Mask&MultiCast=0x0020

Match&MultiCast=0x0000

Mask&Surcharge=0x0040

Match&Surcharge=0x0040

Mask&MultiCastModem=0x0024

Match&MultiCastModem=0x0000

Mask&MultiCastISDN=0x0028

Match&MultiCastISDN=0x0000

Mask&NosurchargeSignon=0x0041

Match&NosurchargeSignon=0x0000

Mask&SurchargeSignon=0x0041

Match&SurchargeSignon=0x0040

FilterA&=NosurchargeSignon

FilterB&=SurchargeSignon



[Service Types]

Modem=Modem

ISDN=ISDN

Modem MultiCast=MultiCastModem

ISDN MultiCast=MultiCastISDN



[Connection Manager]

RedialCount=0

RedialDelay=5

Version=0

DownloadDelay=15

ServiceName=Adgang til TEC

ServiceMessage=

PBMessage=

DUN=Adgang til TEC

UserNamePrefix=

UserNameSuffix=

PasswordHandling=0

Logo=

Icon=

SmallIcon=

TrayIcon=

PBLogo=

Dialup=0

Direct=1

ConnectionType=0

Tunnel=1

TunnelReferences=0

TunnelAddress=10.128.0.1

TunnelFile=

TunnelDUN=Adgang til TEC Tunnel

UseSameUserName=0

HelpFile=

HideDomain=1



[Animated Logo]



[Animation Actions]



[Pre-Init Actions]



[Pre-Connect Actions]



[Pre-Dial Actions]



[Pre-Tunnel Actions]



[Connect Actions]



[Auto Applications]



[Disconnect Actions]



[On-Cancel Actions]



[On-Error Actions]



[Menu Options]



[Server&Adgang til TEC Tunnel]

NetworkLogon=1

SW_Compress=1

Disable_LCP=0

Negotiate_TCP/IP=1

SecureLocalFiles=0

EnforceCustomSecurity=1

Custom_Security=1

Require_PAP=0

Require_SPAP=0

Require_CHAP=0

Require_MSCHAP=1

Require_MSCHAP2=1

Require_W95MSCHAP=0

EncryptionType=1

[TCP/IP&Adgang til TEC Tunnel]

IP_Header_Compress=1

Gateway_On_Remote=1

Specify_Server_Address=0

[Networking&Adgang til TEC Tunnel]

VpnStrategy=2

VpnEntry=1

[Server&Adgang til TEC]

NetworkLogon=0

SW_Compress=1

Disable_LCP=0

Negotiate_TCP/IP=1

SecureLocalFiles=0

EnforceCustomSecurity=0

Custom_Security=1

Require_PAP=0

Require_SPAP=0

Require_CHAP=1

Require_MSCHAP=1

Require_MSCHAP2=1

Require_W95MSCHAP=0

EncryptionType=3

PW_Encrypt=1

PW_EncryptMS=0

DataEncrypt=0

[TCP/IP&Adgang til TEC]

IP_Header_Compress=1

Gateway_On_Remote=1

Specify_Server_Address=0



Til sidst har vi filen guest.inf:

Kode: Vælg alt

;===========================================================================

;

; All of the customizable sections of this file are in the [Strings] section

; at the bottom.

;

;===========================================================================

[version]

Signature=$chicago$

AdvancedINF=2.5



[CmDial32.Dll]

Version=458754

Build=248383270



; -------------------------------------------------------------------

; All User Installs

; -------------------------------------------------------------------

[DefaultInstall]

SmartReboot=N

CustomDestination=CustInstDestSectionAllUsers

RunPreSetupCommands=RunPreSetupCommandsSection

CopyFiles=Xnstall.CopyFiles, Xnstall.CopyFiles.ICM

AddReg=Xnstall.RenameReg, Xnstall.AddReg.AllUsers

RegisterOCXs=RegisterOCXSection



; -------------------------------------------------------------------

; Launches the All User postinstall commands

; -------------------------------------------------------------------

[PostInstall]

SmartReboot=N

CustomDestination=CustInstDestSectionAllUsers

RunPostSetupCommands=RunPostSetupCommandsSection



; -------------------------------------------------------------------

; Single User installs cannot handle the RenameReg Section

; -------------------------------------------------------------------

[DefaultInstall_SingleUser]

SmartReboot=N

CustomDestination=CustInstDestSectionSingleUsers

RunPreSetupCommands=RunPreSetupCommandsSection

CopyFiles=Xnstall.CopyFiles.SingleUser, Xnstall.CopyFiles.ICM

AddReg = Xnstall.AddReg.Private

RegisterOCXs=RegisterOCXSection



; -------------------------------------------------------------------

; Launches the Single User postinstall commands

; -------------------------------------------------------------------

[PostInstall_Single]

SmartReboot=N

CustomDestination=CustInstDestSectionSingleUsers

RunPostSetupCommands=RunPostSetupCommandsSection



; -------------------------------------------------------------------

; This file section sets up the desktop icon GUID and is thus

; only needed on legacy systems.

; -------------------------------------------------------------------

[Xnstall_Legacy]

SmartReboot=N

CustomDestination=CustInstDestSectionAllUsers

AddReg=Xnstall.AddReg.DesktopIcon, Xnstall.AddReg.Icon



; These section are kept for legacy compatibility but are no longer used.

[Xnstall_Private]

[Xnstall_AllUser]



; -------------------------------------------------------------------

; Section used to uninstall Private user profiles

; -------------------------------------------------------------------

[Remove_Private]

Cleanup=1

SmartReboot=N

BeginPrompt=RemoveBeginPromptSection

EndPrompt=RemoveEndPromptSection

RunPreSetupCommands=RunPreUnInstCommandsSection

CustomDestination=CustUnInstDestSectionPrivate

DelFiles=Remove.DelFiles, Remove.DelFiles.ICM

DelReg=Remove.DelReg.Private

DelDirs=CleanDir

RunPostSetupCommands=RunPostUnInstCommandsSection



; -------------------------------------------------------------------

; Section used to uninstall All User profiles

; -------------------------------------------------------------------

[Remove]

Cleanup=1

SmartReboot=N

BeginPrompt=RemoveBeginPromptSection

EndPrompt=RemoveEndPromptSection

RunPreSetupCommands=RunPreUnInstCommandsSection

CustomDestination=CustUninstDestSectionAllUsers

DelFiles=Remove.DelFiles, Remove.DelFiles.ICM

DelReg=Remove.DelReg.AllUser

DelDirs=CleanDir

RunPostSetupCommands=RunPostUnInstCommandsSection



; The following Run(Pre/Post)SetupCommandsSections allow you to run commands before or

; after the profile is installed.

;

; Similarly the following Run(Pre/Post)UnInstCommandsSections will allow you to run

; commands before or after the profile is uninstalled.

;

; An example command line is:

; Myprogram.exe /<switches> <options>



[RunPreSetupCommandsSection]

; Commands Here will be run Before Setup Begins to install



[RunPostSetupCommandsSection]

;Commands here will be run After setup finishes



[RunPreUnInstCommandsSection]

;Commands here will be run before Uninstall Begins



[RunPostUnInstCommandsSection]

;Commands here will be run after Uninstall Finishes



; -------------------------------------------------------------------

; These are the registry entries for installation.

; -------------------------------------------------------------------

[Xnstall.AddReg.DesktopIcon]

"HKCR", "CLSID\%DesktopGUID%",,,"%ServiceName%"

"HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\%DesktopGUID%",,,"%ServiceName%"

"HKCR", "CLSID\%DesktopGUID%\ShellFolder","Attributes",1,"00","00","00","00"

; Please make sure the following three commands are alphabetized by the %Open%, %Delete%,

; and %Settings% entries defined in the Strings section

; the Connect Command

"HKCR", "CLSID\%DesktopGUID%\Shell\Open\Command",,,"cmmgr32.exe ""%49000%\%ShortSvcName%.cmp"""

"HKCR", "CLSID\%DesktopGUID%\Shell\Open",,,"%Open%"

; the Delete Command

"HKCR", "CLSID\%DesktopGUID%\Shell\Delete\Command",,,"cmstp.exe /u ""%49000%\%ShortSvcName%\%ShortSvcName%.inf"""

"HKCR", "CLSID\%DesktopGUID%\Shell\Delete",,,"%Delete%"

; the Properties Command

"HKCR", "CLSID\%DesktopGUID%\Shell\Settings...\Command",,,"cmmgr32.exe /settings ""%49000%\%ShortSvcName%.cmp"""

"HKCR", "CLSID\%DesktopGUID%\Shell\Settings...",,,"%Settings%"



[Xnstall.AddReg.AllUsers]

"HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", "%49001%"

"HKLM", "%AppAct%\Mappings","%ServiceName%","","%49001%\%ShortSvcName%.cmp"



[Xnstall.AddReg.Private]

; Single User Mappings is now written in code.

;"HKCU", "%AppAct%\Mappings","%ServiceName%","","%%UserProfile%%\%PathFromProfileDir%\%ShortSvcName%.cmp"



; -------------------------------------------------------------------

; These are the registry settings which

; are deleted during uninstall.

; -------------------------------------------------------------------

[Remove.DelReg.AllUser]

"HKLM", "%AppAct%\%ServiceName%"

"HKLM", "%AppAct%\Mappings","%ServiceName%"

"HKCU", "%AppAct%\UserInfo\%ServiceName%"

"HKCR", "CLSID\%DesktopGUID%"

"HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\%DesktopGUID%"

"HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%"



[Remove.DelReg.Private]

"HKCU", "%AppAct%\%ServiceName%"

"HKCU", "%AppAct%\Mappings","%ServiceName%"

"HKCU", "%AppAct%\SingleUserInfo\%ServiceName%"

"HKCU", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%"



[CleanDir]

%49001%\%ShortSvcName%



; -------------------------------------------------------------------

; These are the directory specifications.

; -------------------------------------------------------------------



[CustInstDestSectionAllUsers]

49000,49001=AllUSer_LDIDSection, 7



[CustInstDestSectionSingleUsers]

49000,49001=SingleUser_LDIDSection, 7



[CustUninstDestSectionAllUsers]

49000,49001=XConnMgrLDIDSectionAllUsers, 5



[CustUnInstDestSectionPrivate]

49000,49001=XConnMgrLDIDSectionPrivate, 5



[SingleUser_LDIDSection]

"HKCU", "%AppAct%", "ProfileInstallPath", "%UnexpectedError%", ""



[AllUSer_LDIDSection]

"HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CMMGR32.EXE", "ProfileInstallPath", "%UnexpectedError%", ""



[XConnMgrLDIDSectionAllUsers]

"HKLM", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", ""



[XConnMgrLDIDSectionPrivate]

"HKCU", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ShortSvcName%", "UninstallDir", "", ""



[DestinationDirs]

Xnstall.CopyFiles=49001, %ShortSvcName%

Xnstall.CopyFiles.SingleUser=49001, %ShortSvcName%

Xnstall.CopyFiles.ICM=49001

Remove.DelFiles=49001, %ShortSvcName%

Remove.DelFiles.ICM=49001



[SourceDisksNames]

55=, , 0



; -------------------------------------------------------------------

; These are the Prompt Sections

; -------------------------------------------------------------------



[RemoveBeginPromptSection]

Prompt=%BeginPrompt%

ButtonType=YESNO

Title=%UninstallAppTitle%



[RemoveEndPromptSection]

Prompt=%EndPrompt%





[Strings]

; -------------------------------------------------------------------

; These are the non localizable strings...

; -------------------------------------------------------------------

KEY_RENAME = "Software\Microsoft\Windows\CurrentVersion\RenameFiles"

AppAct = "SOFTWARE\Microsoft\Connection Manager"



; -------------------------------------------------------------------

; These are the localizable strings...

; -------------------------------------------------------------------

UnexpectedError = "An unexpected error occurred.  Please reboot and try the installation again."



; When you localize these commands (they are the commands for the Desktop Icon on legacy

; platforms) you must make sure to re-alphabetize the Registry add calls above.  Win95

; shows the menus in the order they were added and doesn't alphabetize them for you.

Settings = "P&roperties"

Open = "C&onnect"

Delete = "&Delete"

CmLCID="1033"



; -------------------------------------------------------------------

; The following strings are set by the Connection Manager Administration Kit

; Do not change any of the following strings

; -------------------------------------------------------------------

ServiceName="Adgang til TEC"

ShortSvcName="Guest"

DesktopGUID="{90B91C6B-B389-418C-B01F-AA11FCF378FA}"

UninstallAppTitle="Adgang til TEC"

DesktopIcon=""

PhonebookPath=""

BeginPrompt="Do you want to remove Adgang til TEC?"

EndPrompt="Successfully removed Adgang til TEC."

DisplayLCID=1030



[CMAK Status]

InfVersion=4

UpdatePhonebook=0

IncludeCMCode=1

LicenseFile=

PhoneName=



[Extra Files]



[Merge Profiles]



[Xnstall.AddReg.Icon]

HKCR,"CLSID\%DesktopGUID%\DefaultIcon",,,"%11%\CMMGR32.EXE,0"



[Xnstall.CopyFiles.SingleUser]

Guest.cms,,,4

Guest.inf



[Xnstall.CopyFiles]

Guest.cms,,,4

Guest.inf



[Xnstall.CopyFiles.ICM]

Guest.cmp



[Remove.DelFiles.ICM]

Guest.cmp



[SourceDisksFiles]

Guest.inf = 55

Guest.cmp = 55

Guest.cms = 55



[Remove.DelFiles]

Guest.cms




Jeg vil blive ovenud lykkelig hvis netværket kommer til at virke på skolen, for det er det sidste der mangler før at mig og mine venner kan køre ubuntu fuldt ud:) Jeg vil virkelig ærgre mig hvis jeg skal tilbage til vista. så derfor:

Alt hjælp vil blive meget værdsat! :)

Jimmyfj
Indlæg: 1712
Tilmeldt: 19. jul 2007, 19:35
Geografisk sted: Nordjylland

Re: Kan ikke forbinde til skolens netværk (PPTP) med ubuntu 8.10

Indlægaf Jimmyfj » 1. feb 2009, 23:27

Ud fra din beskrivelse af systemet har jeg her fundet tre programmer, som alle ligger i Tilføj/Fjern (Med det forbehold, at du har Ubuntu 9.04 installeret. Ved ikke om de findes i 8.10).

Programmerne ser alle tre ud til at være til at konfigurere, evt. ved at kopiere viste config-filer ind som en profil til programmet listet nederst.

Network Selector

Netapplet allows the user to control the currently active network interface and perform a small amount of run-time configuration. It is primarily aimed at laptop users who need to be able to switch between different network setups and wireless networks

PPTP VPN Connection Manager

NetworkManager attempts to keep an active network connection available at all times. It is intended primarily for laptops where it allows easy switching betwen local wireless networks, it's also useful on desktops with a selection of different interfaces to use. It is not intended for usage on servers.

This package provides a VPN plugin for PPTP, commonly used for connecting to Microsoft VPN servers.

Wicd Network Manager

Wicd is an open source wired and wireless network manager which aims to provide a simple interface to connect to networks with a wide variety of settings.

Some of Wicd's features include: 1. No GNOME dependencies (although it does require GTK+), so it is

easy to use in Xfce, Fluxbox, Openbox, Enlightenment, etc. 2. Ability to connect to wired and wireless networks 3. Profiles for each wireless network and wired network 4. Many encryption schemes, some of which include WEP/WPA/WPA2 (and

you can add your own) 5. Remains compatible with wireless-tools 6. Tray icon showing network activity and signal strength

Håber det virker. Ellers skriv igen.
"OM 100 ÅR ER ALTING GLEMT !"


Ubuntu - Dev-ed.
Linux User # 448500

bramming
Indlæg: 4
Tilmeldt: 1. feb 2009, 20:59

Re: Kan ikke forbinde til skolens netværk (PPTP) med ubuntu 8.10

Indlægaf bramming » 2. feb 2009, 07:09

Jeg prøver lige at se ad, og så skriver jeg om det virker efter skole :) (medmindre jeg får internet, så kan jeg jo skrive med det samme) tak for hjælpen!!

Stra
Indlæg: 3105
Tilmeldt: 16. jun 2007, 10:26
Geografisk sted: Ikast-Herning

Re: Kan ikke forbinde til skolens netværk (PPTP) med ubuntu 8.10

Indlægaf Stra » 2. feb 2009, 09:16

HEJ
Der er automatisk installeret et VPN forbindelses værktøj i networkmanageren i 8.10.
Det kan jeg ikke se, om du har prøvet.

Klik på netværks-ikonet/VPN forbindelser og sæt det op.

Efter du har sat det op går, du ind i netwærkmanager/konfigurer VPN/rediger/avanceret og her vinger du CHAP fra og vinger Use Point-to-point encrypten til og ser om det giver resultat.

stra
stra
Bruger Ubuntu 22.04 og 22.10 + lubuntu 22.10

bramming
Indlæg: 4
Tilmeldt: 1. feb 2009, 20:59

Re: Kan ikke forbinde til skolens netværk (PPTP) med ubuntu 8.10

Indlægaf bramming » 2. feb 2009, 19:28

Tak Jimmyfj og Stra ! :D

brugte network-manager-pptp og så satte jeg forbindelsen op som Stra sagde. I starten virkede det ikke, men da jeg tilføjede "ETEC" til "NT domain" så virkede det :D igen tak for hjælpen

Tilbage til "Netværk"

Hvem er online

Brugere der læser dette forum: [Bot] og 0 gæster