1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

generating radius file

Discussion in 'Optigold ISP' started by nhelms, Feb 25, 2005.

  1. #1
    i have configured optigold to generate a radius file to my specs and then ftp the file to a server, but the file never gets uploaded to the server.
    any ideas?
     
    nhelms, Feb 25, 2005 IP
  2. gufnstuf

    gufnstuf Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    look under general preferences and then automated tasks there is an entry there for how often it generates the radius file and that should control how often it gets ftped, i think
     
    gufnstuf, Feb 25, 2005 IP
  3. nhelms

    nhelms Peon

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    when i try to do it manaully (under server stuff) is when it is not working, i have not tried to automate it yet
     
    nhelms, Feb 25, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    Turn on the debugger (under My Stuff -> System Info), then try it and see if the "Java Companion Log" file (within FileMaker Java Extensions) says anything useful.
     
    digitalpoint, Feb 25, 2005 IP
  5. gufnstuf

    gufnstuf Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    try to remove the ftp settings and just generate the file locally.. if that works then try to ftp the file by command line manually to your server that should really narrow down where your problem lies.

    if you get errors generating it locally i would very closely look at your file configuration paramaters for misspellings or incorrect syntax
     
    gufnstuf, Feb 25, 2005 IP
  6. nhelms

    nhelms Peon

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    it does generate it locally and then i can ftp it but opti will not do the ftp for me
     
    nhelms, Feb 26, 2005 IP
  7. nhelms

    nhelms Peon

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    this is what the log file says:

    2005-02-26 13:13:04 [JavaCompanion] Calling: JAVB-Command with NETT-FTPConnect|192.168.254.15|ftp|123456
    2005-02-26 13:13:04 [NetTools v3.0.2] Connecting to FTP server
    2005-02-26 13:13:04 [NetTools v3.0.2] Retrieving client: null
    2005-02-26 13:13:04 Adding protocol listener.
    2005-02-26 13:13:04 [NetTools v3.0.2] New client created
    2005-02-26 13:13:04 [NetTools v3.0.2] Connecting to server 192.168.254.15 as ftp
    2005-02-26 13:13:04 [Thread[Thread-12,5,main]] Connect Timeout = 0
    2005-02-26 13:13:04 [Thread[Thread-12,5,main]] Connect Timeout = 10000
    2005-02-26 13:13:04 [FTP] 220 (vsFTPd 1.2.1)
    2005-02-26 13:13:04 [FTP] USER ftp
    2005-02-26 13:13:04 [FTP] 331 Please specify the password.
    2005-02-26 13:13:04 [FTP] PASS XXXXXXX
    2005-02-26 13:13:04 [FTP] 230 Login successful.
    2005-02-26 13:13:04 [NetTools v3.0.2] Connected to 192.168.254.15
    2005-02-26 13:13:04 [JavaCompanion] Calling: JAVB-Command with NETT-FTPAscii
    2005-02-26 13:13:04 [NetTools v3.0.2] Retrieving client: Thread[Thread-12,5,main]
    2005-02-26 13:13:04 [NetTools v3.0.2] Setting ASCII transfer mode
    2005-02-26 13:13:04 [FTP] TYPE A
    2005-02-26 13:13:04 [FTP] 200 Switching to ASCII mode.
    2005-02-26 13:13:04 [JavaCompanion] Calling: JAVB-Command with NETT-FTPStoreFile||


    2005-02-26 13:13:04 [NetTools v3.0.2] Retrieving client: Thread[Thread-12,5,main]
    2005-02-26 13:13:04 [NetTools v3.0.2] Storing file

    to same name on server
    2005-02-26 13:13:04 [JavaCompanion] Calling: JAVB-Command with NETT-FTPDisconnect
    2005-02-26 13:13:04 [NetTools v3.0.2] Retrieving client: Thread[Thread-12,5,main]
    2005-02-26 13:13:04 [FTP] QUIT
    2005-02-26 13:13:05 [FTP] 221 Goodbye.
    2005-02-26 13:13:05 [NetTools v3.0.2] Removing disconnected ftp client
     
    nhelms, Feb 26, 2005 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    Do you have a name for your file in the FTP setup? It does not seem to have a name from that log.
     
    digitalpoint, Feb 26, 2005 IP
  9. nhelms

    nhelms Peon

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    ok entered a name:

    2005-02-26 13:30:19 [JavaCompanion] Calling: JAVB-Command with NETT-FTPConnect|192.168.254.15|ftp|123456
    2005-02-26 13:30:19 [NetTools v3.0.2] Connecting to FTP server
    2005-02-26 13:30:19 [NetTools v3.0.2] Retrieving client: null
    2005-02-26 13:30:19 Adding protocol listener.
    2005-02-26 13:30:19 [NetTools v3.0.2] New client created
    2005-02-26 13:30:19 [NetTools v3.0.2] Connecting to server 192.168.254.15 as ftp
    2005-02-26 13:30:19 [Thread[Thread-16,5,main]] Connect Timeout = 0
    2005-02-26 13:30:19 [Thread[Thread-16,5,main]] Connect Timeout = 10000
    2005-02-26 13:30:19 [FTP] 220 (vsFTPd 1.2.1)
    2005-02-26 13:30:19 [FTP] USER ftp
    2005-02-26 13:30:19 [FTP] 331 Please specify the password.
    2005-02-26 13:30:19 [FTP] PASS XXXXXXX
    2005-02-26 13:30:19 [FTP] 230 Login successful.
    2005-02-26 13:30:19 [NetTools v3.0.2] Connected to 192.168.254.15
    2005-02-26 13:30:19 [JavaCompanion] Calling: JAVB-Command with NETT-FTPAscii
    2005-02-26 13:30:19 [NetTools v3.0.2] Retrieving client: Thread[Thread-16,5,main]
    2005-02-26 13:30:19 [NetTools v3.0.2] Setting ASCII transfer mode
    2005-02-26 13:30:19 [FTP] TYPE A
    2005-02-26 13:30:19 [FTP] 200 Switching to ASCII mode.
    2005-02-26 13:30:19 [JavaCompanion] Calling: JAVB-Command with NETT-FTPStoreFile||users


    2005-02-26 13:30:19 [NetTools v3.0.2] Retrieving client: Thread[Thread-16,5,main]
    2005-02-26 13:30:19 [NetTools v3.0.2] Storing file users

    to same name on server
    2005-02-26 13:30:19 [JavaCompanion] Calling: JAVB-Command with NETT-FTPDisconnect
    2005-02-26 13:30:19 [NetTools v3.0.2] Retrieving client: Thread[Thread-16,5,main]
    2005-02-26 13:30:19 [FTP] QUIT
    2005-02-26 13:30:19 [FTP] 221 Goodbye.
    2005-02-26 13:30:19 [NetTools v3.0.2] Removing disconnected ftp client
     
    nhelms, Feb 26, 2005 IP
  10. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #10
    It still doesn't seem like you have everything filled out for the FTP. Do you have the full paths and filenames within both source and destination paths?
     
    digitalpoint, Feb 26, 2005 IP
  11. nhelms

    nhelms Peon

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    not completely sure what to put there
    the file path on radius is /etc/raddb/users
    but the default dir for ftp is /etc/raddb
     
    nhelms, Feb 26, 2005 IP
  12. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #12
    It should be the full path with filename.
     
    digitalpoint, Feb 26, 2005 IP
  13. nhelms

    nhelms Peon

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    ok but what goes in the source file path?
     
    nhelms, Feb 26, 2005 IP
  14. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #14
    The path to the file that Optigold generates.
     
    digitalpoint, Feb 26, 2005 IP
  15. samnaugler

    samnaugler Peon

    Messages:
    76
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Sorry for the dumb question, but how do you configure Optigold to generate a radius file automatically? (That's effectively an export of all current users and a specification or two right? Or do you mean that one is generated with every account "create hold restore cancel".

    Just curious.

    Thanks.

    Sam
     
    samnaugler, Feb 28, 2005 IP
  16. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #16
    You can set it up under Maintenance & Preferences -> Server Stuff -> Config
     
    digitalpoint, Feb 28, 2005 IP
  17. samnaugler

    samnaugler Peon

    Messages:
    76
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I get basically the same result. It seems to have run and done good things from the logs (I think) but the file never materializes on the server. I have tried two different ftp servers (different software on each) and have done obvious things like trying it without the /etc/ and logging in with an ftp client and making sure I can upload. The server's logs only seem to indicate that the user logged in and quit in the same second, there is no obvious upload or rejection of upload.

    2005-03-02 12:50:45 [NetTools v3.0.2] Connecting to server <test server ip> as <test account>
    2005-03-02 12:50:45 [Thread[Thread-10,5,main]] Connect Timeout = 0
    2005-03-02 12:50:45 [Thread[Thread-10,5,main]] Connect Timeout = 10000
    2005-03-02 12:50:46 [FTP] 220 Welcome Message
    2005-03-02 12:50:46 [FTP] USER <test account>
    2005-03-02 12:50:46 [FTP] 331 Give me your password, please
    2005-03-02 12:50:46 [FTP] PASS XXXXXXX
    2005-03-02 12:50:46 [FTP] 230 Logged in successfully
    2005-03-02 12:50:46 [NetTools v3.0.2] Connected to <test server ip>
    2005-03-02 12:50:46 [JavaCompanion] Calling: JAVB-Command with NETT-FTPAscii
    2005-03-02 12:50:46 [NetTools v3.0.2] Retrieving client: Thread[Thread-10,5,main]
    2005-03-02 12:50:46 [NetTools v3.0.2] Setting ASCII transfer mode
    2005-03-02 12:50:46 [FTP] TYPE A
    2005-03-02 12:50:46 [FTP] 200 Type is ASCII
    2005-03-02 12:50:46 [JavaCompanion] Calling: JAVB-Command with NETT-FTPStoreFile|Program Files/FileMaker/FileMaker Pro 5.0/authent.txt|/etc/radiusfile.txt
    2005-03-02 12:50:46 [NetTools v3.0.2] Retrieving client: Thread[Thread-10,5,main]
    2005-03-02 12:50:46 [NetTools v3.0.2] Storing file Program Files/FileMaker/FileMaker Pro 5.0/authent.txt as /etc/radiusfile.txt
    2005-03-02 12:50:46 [JavaCompanion] Calling: JAVB-Command with NETT-FTPDisconnect
    2005-03-02 12:50:46 [NetTools v3.0.2] Retrieving client: Thread[Thread-10,5,main]
    2005-03-02 12:50:46 [FTP] QUIT
    2005-03-02 12:50:46 [FTP] 221 Goodbye message.
    2005-03-02 12:50:46 [NetTools v3.0.2] Removing disconnected ftp client


    I feel like I've missed some obvious detail?

    Sam
     
    samnaugler, Mar 2, 2005 IP
  18. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #18
    You would need to use the full path to the local file (including drive letter).
     
    digitalpoint, Mar 2, 2005 IP
  19. samnaugler

    samnaugler Peon

    Messages:
    76
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    See what I mean about missing the obvious?
    Okay so next one, no matter what I put in "RADIUS File Config" the file that is generated always looks the same (lots of columns I did not ask for)...what's that?

    Sam
     
    samnaugler, Mar 2, 2005 IP
  20. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #20
    Set the "Export Raw Authentication Data" (first option at the top) to 'No'.
     
    digitalpoint, Mar 2, 2005 IP