Jump to content

bj-kaiser

Member
  • Posts

    396
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Posts posted by bj-kaiser

  1. I have been trying running setup.exe without parameters (as there seems to be nothing but a '/uninstall') and a simple inf install. that is, using the "update/install driver" option in device manager. Either way it keeps asking for the file even though it is in the folder with the rest of the files.

    The last thing AVM told me about this was that they dont support installing that driver unattended.

  2. funny I don't see anyone mentioning the 2 year old bug in Office Web Components.

    http://www.h-online.com/security/Microsoft...e--/news/113994

    that was a hole known since 2 years.

    whereas your 8 year vulnerability seems to have been brought to the attention of the kernel team around july.

    not defending anyone, things like this can happen in projects of that size.

    I'm just saying even if you are a fan of MS you should sweep before your own door before you pull jokes about what MS (now) calls concurrents.

    oh and BTW, MS seems to have a history of their own with problems from the past creeping up on them:

    http://news.softpedia.com/news/Microsoft-P...SP3-97742.shtml

    http://www.networkworld.com/news/2007/1126...nerability.html

    I dont remember a big fuss about those either.

  3. I got a little problem with this driver. I want to install it unattended, however, for some reason I dont know it keeps asking for "avmcowan.sys" which is inside the same folder as the inf-file.

    If neccessary, I will modify the inf to get rid of this dialog box. I would prefer that to using AutoIt or the likes to try to click away the dialog.

    Maybe someone here can give me a tip where the problem lies.

    the inf-file:


    ;
    ; W2K/XP/Vista-INF for AVM ISDN-Controller FRITZ!Card USB v2.0/v2.1
    ; and AVM CoNDIS WAN CAPI Driver
    ;
    ; Copyright © AVM Berlin 2007
    ;

    [Version]
    Signature = "$Windows NT$"
    Class = Net
    ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
    Provider = %V_AVM%
    DriverVer =05/07/2007,3.11.07.2007
    CatalogFile = avmfusb2.cat

    ;-----------------------------------------------------------------------------
    ;- Strings Sections
    ;-----------------------------------------------------------------------------
    [Strings]
    DiskName = "AVM FRITZ!Card USB v2.0/v2.1 Installation"
    AVMLanguage = " "
    AVMDriverDate ="05/07/2007"
    AVMDriverVersion ="3.11.07.2007"
    V_AVM = "AVM Berlin"
    StartProg = "SOFTWARE\FRITZ!\setup.exe"
    StartProgReg = "SOFTWARE\AVM\FRITZ! 2.0"
    AVMFCUSB.DeviceDesc = "AVM ISDN-Controller FRITZ!Card USB v2.0"
    AVMFCUSB3.DeviceDesc = "AVM ISDN-Controller FRITZ!Card USB v2.1"
    AVMCOWAN.DeviceDesc = "AVM ISDN CoNDIS WAN CAPI Driver"
    AVMCOWAN.LineName = "AVM NDIS WAN CAPI-Driver"
    FRITZSERVICE = "FRITZ!Card USB"
    PROTOCOL = "DSS1"


    [Strings.0407]
    DiskName = "AVM FRITZ!Card USB v2.0/v2.1 Installation"
    AVMLanguage = "deutsch"
    AVMDriverDate ="05/07/2007"
    AVMDriverVersion ="3.11.07.2007"
    V_AVM = "AVM Berlin"
    StartProg = "SOFTWARE\FRITZ!\setup.exe"
    StartProgReg = "SOFTWARE\AVM\FRITZ! 2.0"
    AVMFCUSB.DeviceDesc = "AVM ISDN-Controller FRITZ!Card USB v2.0"
    AVMFCUSB3.DeviceDesc = "AVM ISDN-Controller FRITZ!Card USB v2.1"
    AVMCOWAN.DeviceDesc = "AVM ISDN CoNDIS WAN CAPI Treiber"
    AVMCOWAN.LineName = "AVM NDIS WAN CAPI-Treiber"
    FRITZSERVICE = "FRITZ!Card USB"
    PROTOCOL = "DSS1"


    ;-----------------------------------------------------------------------------
    ;- Hardware
    ;-----------------------------------------------------------------------------
    [Manufacturer]
    %V_AVM% = AVM,NT.6


    [ControlFlags]
    ExcludeFromSelect = USB\VID_057C&PID_1000
    ExcludeFromSelect = USB\VID_057C&PID_1900
    ExcludeFromSelect = AVMCOWANCI

    [AVM]
    %AVMFCUSB.DeviceDesc% = AVMFCUSB.ndi, USB\VID_057C&PID_1000
    %AVMFCUSB3.DeviceDesc% = AVMFCUSB3.ndi, USB\VID_057C&PID_1900
    %AVMCOWAN.DeviceDesc% = AVMCOWAN.ndi, AVMCOWANCI

    [AVM.NT.6]
    %AVMFCUSB.DeviceDesc% = AVMFCUSB.ndi, USB\VID_057C&PID_1000
    %AVMFCUSB3.DeviceDesc% = AVMFCUSB3.ndi, USB\VID_057C&PID_1900
    %AVMCOWAN.DeviceDesc% = AVMCOWAN6.ndi, AVMCOWANCI

    ;- FRITZ!Card USB ---------------------------------------------------------
    [AVMFCUSB.ndi.NT.CoInstallers]
    AddReg = AVMISDN.coinst.reg, AVMFCUSB.ndis.reg, AVMALLFC.ndis.reg, AVMISDN.nt.reg, AVMFCUSB
    CopyFiles = AVMISDN.CopyDLLs, AVMISDN.CopyFRM

    [AVMFCUSB.ndi.NT]
    AddReg = AVMFCUSB.ndis.reg
    CopyFiles = AVMFCUSB.CopyFiles, AVMISDN.Copy16bDLLs
    Characteristics = 0x04 ; NCF_PHYSICAL
    ;BusType = 1 ; ISA to pass chkinf
    BusType = 15 ; PNP-Bus to pass chkinf

    ;- FRITZ!Card USB ---------------------------------------------------------
    [AVMFCUSB3.ndi.NT.CoInstallers]
    AddReg = AVMISDN.coinst.reg, AVMFCUSB.ndis.reg, AVMALLFC.ndis.reg, AVMISDN.nt.reg, AVMFCUSB3
    CopyFiles = AVMISDN.CopyDLLs,AVMISDN.CopyFRM3

    [AVMFCUSB3.ndi.NT]
    AddReg = AVMFCUSB.ndis.reg
    CopyFiles = AVMFCUSB.CopyFiles, AVMISDN.Copy16bDLLs
    Characteristics = 0x04 ; NCF_PHYSICAL
    ;BusType = 1 ; ISA to pass chkinf
    BusType = 15 ; PNP-Bus to pass chkinf

    ;- NDIS CoWAN Miniport -------------------------------------------------------
    [AVMCOWAN.ndi.NT.CoInstallers]
    AddReg = AVMCOWAN.coinst.reg,AVMCOWAN.ndis.reg, AVMCOWAN.nt.reg
    CopyFiles = AVMCOWAN.CopyFiles

    [AVMCOWAN6.ndi.NT.CoInstallers]
    AddReg = AVMCOWAN.coinst.reg,AVMCOWAN.ndis.reg, AVMCOWAN.nt.reg
    CopyFiles = AVMCOWAN6.CopyFiles

    [AVMCOWAN.ndi.NT]
    Characteristics = 0x09 ; NCF_VIRTUAL | NCF_HIDDEN
    DriverVer =05/07/2007,1.1.10

    [AVMCOWAN6.ndi.NT]
    Characteristics = 0x09 ; NCF_VIRTUAL | NCF_HIDDEN
    DriverVer =05/07/2007,2.0.07.1500
    *IfType = 23 ; IF_TYPE_PPP
    *MediaType = 3 ; NdisMediumWan
    *PhysicalMediaType = 3 ; NdisPhysicalMediumPhoneLine

    ;-----------------------------------------------------------------------------
    ;- Reg-Parts -----------------------------------------------------------------
    ;-----------------------------------------------------------------------------

    [AVMCOWAN.coinst.reg]
    HKR, , CoInstallers32, 0x10000, "avmcolh.dll,AVMCoInstall"
    HKR, Ndi, Service, 0 , "AVMCOWAN"
    HKR, Ndi\Interfaces, LowerRange, 0 , "nolower"
    HKR, Ndi\Interfaces, UpperRange, 0 , "ndiscowan"

    [AVMCOWAN.ndis.reg]

    [AVMCOWAN.nt.reg]
    HKR, , IsdnAutoSwitchDetect, 0x10001, "0"
    HKR, , IsdnSwitchTypes, 0x10001, "0x01" ; ISDN_SWITCH_AUTO
    HKR, , IsdnNumDChannels, 0x10001, "1"
    HKR, , WanEndPoints, 0x10001, "2"
    HKR, 0, IsdnNumBChannels, 0x10001, "2"
    HKR, 0\0, IsdnPhoneNumber, 0x00002, ""
    HKR, 0\0, IsdnSpid, 0x00002, ""
    HKR, 0\1, IsdnPhoneNumber, 0x00002, ""
    HKR, 0\1, IsdnSpid, 0x00002, ""


    ;-----------------------------------------------------------------------------
    ;- Reg-Parts
    ;-----------------------------------------------------------------------------
    [AVMFCUSB.ndis.reg]
    HKR, , CardType, 0, "FRITZusb2"
    HKR, , LineName, 0, %AVMCOWAN.LineName%
    HKR, Ndi, Service, 0, "FUS2BASE"

    [AVMALLFC.ndis.reg]
    HKR, , DriverDate1, 0, %AVMDriverDate%
    HKR, , DriverVersion, 0, %AVMDriverVersion%
    HKR, , IsdnSwitchType, 0x10001, 0x80 ; _DSS1
    HKR, , IsdnSwitchTypes, 0x10001, 0x80 ; _DSS1
    HKR, , Language, 0, %AVMLanguage%
    HKR, , EnumPropPages32, 0, "avmen32.dll,AVMEnumPages"
    HKR, , StartProg, 0, %StartProg%
    HKR, , StartProgReg, 0, %StartProgReg%
    HKR, AVMParams, NrOfCowans, 0x10001, 1
    HKR, AVMParams, AdditionalInstallDLL2,0, "avmadd32.dll,StartFRITZ"

    ;- Reg-Part for all ISDN Controllers -----------------------------------------
    [AVMISDN.coinst.reg]
    HKR, , CoInstallers32, 0x10000, "avmcolh.dll,AVMCoInstall"
    HKR, , ProviderName, 0, %V_AVM%
    HKR, , SetupProtocol, 0, %PROTOCOL%
    HKR, Base-Module, T4Path, 0, %11%
    HKR, Base-Module\Values, AutoCompress, 0, "\x00"
    HKR, Base-Module\Values, PROTOCOL, 0, "\x00"
    HKR, Ndi\Interfaces, LowerRange, 0, "isdn"

    [AVMFCUSB]
    HKR, Base-Module, Name, 0, %11%\fus2base.frm
    HKR, , , 0, %AVMFCUSB.DeviceDesc%

    [AVMFCUSB3]
    HKR, Base-Module, Name, 0, %11%\fus3base.frm
    HKR, , , 0, %AVMFCUSB3.DeviceDesc%

    [AVMISDN.nt.reg]
    HKR, , IsdnAutoSwitchDetect, 0x10001, "0"
    HKR, , IsdnNumDChannels, 0x10001, "1"
    HKR, , WanEndPoints, 0x10001, "2"
    HKR, 0, IsdnNumBChannels, 0x10001, "2"
    HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"

    ;-----------------------------------------------------------------------------
    ;- Copy Files Section --------------------------------------------------------
    ;-----------------------------------------------------------------------------
    [DestinationDirs]
    DefaultDestDir = 12
    AVMFCUSB.CopyFiles = 12
    AVMCOWAN.CopyFiles = 12
    AVMCOWAN6.CopyFiles = 12
    AVMISDN.CopyDLLs = 11
    AVMISDN.Copy16bDLLs = 50
    AVMISDN.CopyFRM = 11
    AVMISDN.CopyFRM3 = 11

    [AVMFCUSB.CopyFiles]
    fus2base.sys, fus2base.sy_

    [AVMCOWAN.CopyFiles]
    avmcowan.sys, avmcowan.sy_

    [AVMCOWAN6.CopyFiles]
    avmcowan.sys, avmcowan6.sy_

    [AVMISDN.CopyDLLs]
    avmcolh.dll, avmcolh.dl_
    avmacc32.dll
    capi2032.dll, capi2032.dl_
    avmen32.dll, avmen32.dl_
    avmadd32.dll

    [AVMISDN.CopyFRM]
    fus2base.frm, fus2base.fr_

    [AVMISDN.CopyFRM3]
    fus3base.frm, fus3base.fr_

    [AVMISDN.Copy16bDLLs]
    capi20.dll, capi20.dl_

    ;-----------------------------------------------------------------------------
    ;- Services Section ----------------------------------------------------------
    ;-----------------------------------------------------------------------------
    [AVMFCUSB.ndi.NT.Services]
    AddService = fus2base, 2, AVMFCUSBService, AVMFCUSBAddEventLog

    [AVMFCUSB3.ndi.NT.Services]
    AddService = fus2base, 2, AVMFCUSBService, AVMFCUSBAddEventLog

    [AVMFCUSBAddEventLog]
    AddReg = AVMFCUSBAddEventLog.reg

    [AVMFCUSBAddEventLog.reg]
    HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\netevent.dll,%%SystemRoot%%\System32\drivers\fus2base.sys"
    HKR,,TypesSupported,0x00010001,7

    ;---------------- ISDN CoNDIS WAN --------------------
    [AVMCOWAN.ndi.NT.Services]
    AddService = AVMCOWAN, 2, AVMCOWAN.Service, AVMCOWANAddEventLog

    [AVMCOWAN6.ndi.NT.Services]
    AddService = AVMCOWAN, 2, AVMCOWAN.Service, AVMCOWANAddEventLog

    [AVMCOWANAddEventLog]
    AddReg=AVMCOWANAddEventLog.reg

    [AVMCOWANAddEventLog.reg]
    HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\netevent.dll,%%SystemRoot%%\System32\drivers\avmcowan.sys"
    HKR,,TypesSupported,0x00010001,7

    ;-----------------------------------------------------------------------------
    [AVMFCUSBService]
    DisplayName = %FRITZSERVICE%
    ServiceType = 1 ; SERVICE_KERNEL_DRIVER
    StartType = 3 ; SERVICE_DEMAND_START
    ErrorControl = 1 ; SERVICE_ERROR_NORMAL
    ServiceBinary = %12%\fus2base.sys
    LoadOrderGroup = NDIS

    AddReg = AVMFCUSBParameters.Reg

    [AVMFCUSBParameters.Reg]
    HKR,Parameters,NumberOfApplIDs,0x10001, 200

    [AVMCOWAN.Service]
    DisplayName = %AVMCOWAN.DeviceDesc%
    ServiceType = 1 ; SERVICE_KERNEL_DRIVER
    StartType = 3 ; SERVICE_DEMAND_START
    ErrorControl = 1 ; SERVICE_ERROR_NORMAL
    ServiceBinary = %12%\avmcowan.sys
    LoadOrderGroup = NDIS

    ;-----------------------------------------------------------------------------
    ;- Disks Sections ----------------------------------------------------------
    ;-----------------------------------------------------------------------------
    [SourceDisksNames]
    1 = %DISKNAME%, "",

    [SourceDisksFiles]
    fus2base.sy_ = 1
    avmcowan.sy_ = 1
    avmcowan6.sy_ = 1
    capi20.dl_ = 1
    capi2032.dl_ = 1
    avmen32.dl_ = 1
    avmadd32.dl_ = 1
    fus2base.fr_ = 1
    fus3base.fr_ = 1
    avmcolh.dl_ = 1
    avmacc32.dll = 1
    avmadd32.dll = 1

    [CoinstInfo]
    OriginalInfSourcePath = %01%

  4. Option Explicit
    Const strConnection = "RAS"
    Const strUsername = "UserXYZ"
    Dim oShell

    Set oShell = CreateObject ("WScript.Shell")

    'run command and wait for it to exit
    oShell.Run("rasdial.exe " & strConnection & " " & strUsername, 1, true)

    OK, I'm new to vbscript, can somebody point out what in heck is wrong with that script? it looks good to me...

    seems to be ok until WSH hits the "oShell.Run" line, there I get a compile error "no brackets allowed in subroutine call" or something like that. (german windows xp)

  5. I'm at home now, so I cant tell you which version it was or copy it from the USB stick (which is lying around at work).

    My best guess is that the version of chain.c32 is not much older than maybe 4 or 8 weeks. If I were you I'd just get me the latest syslinux distribution package (v3.82) and work with that.

  6. someone explain to me why there has to be an autoelevation?

    Do you seriously expect end-users to use surun and the like? Besides, most people seem to think just getting a prompt (allow/deny) is already too much of a hassle, now ask them do run things from the command line instead, and see how that'll turn out.

    I see, someone didnt read my post to the end.

    If I know what I am doing, I can as well elevate the program on my own. With SuRun it works like this: run "surun program.exe" or you can "restart as admin" from the programs system menu.

    I dont know if "system menu" was the right phrase, what I mean is the context menu you get when you right-click a programs title bar.

    Hope that makes it clear.

  7. well, I'll try to reduce it to people who KNOW what they are doing.

    We have at least one person in every department that has sort of a "1st level support" clause in their job description. They keep a lot of work away from "internal services".

    I can see them having an admin account for the machines in THAT department.

    But the normal user with admin rights? sorry, the situation as it is is total chaos. nobody asks IT about what they install on their machines, in contradiction to the written rules. that IT doesnt come down hard on them upon discovering that doesnt help either.

  8. same here, Ubuntu user at home.

    at work we will hopefully upgrade from XP to 7, as long as our computer centre doesnt force Vista upon us... for having matured for one year or whatever bull.... (hopefully we will get rid of all those users with local admin accounts on the way)

  9. Security vs. Usability:

    someone explain to me why there has to be an autoelevation?

    If I know what I am doing, I can as well elevate the program on my own. With SuRun it works like this: run "surun program.exe" or you can "restart as admin" from the programs system menu.

    (I am not thinking SuRun is perfectly secure, but the way it works (unless you enable its own autoelevation options, I disabled on my machine) looks more sane than MS UAC IMHO)

  10. Windows 7 looks promising so far. Hope now that they got XP mode they will cut off old stuff some time soon. (backwards compatibility back to the '80s and that)

    ok, this is probably OT, but I didnt really bother with PowerShell until I tried windows 7. And I really have to say, they are catching up to the shells in the rest of the world(*BSD, Linux, Unix etc.)

    (anyone ever used BASH here?).

×
×
  • Create New...