View previous topic :: View next topic |
Author |
Message |
first install Guest
|
Posted: Tue Nov 02, 2004 9:41 pm Post subject: what am I missing |
|
|
Hello,
your product seems very good... I'm looking to getting this up and running.
I've installed the app. by running the setup.msi... and I can see my server by the http://localhost tests... but I can't login
I get the error:
Notice: Undefined variable: sess_patronsoft2 in c:\program files\firstspot\authserv\login.php on line 294
Warning: com_invoke(): Invoke() failed: Type mismatch. Argument: 4 in c:\program files\firstspot\authserv\login.php on line 294
Invalid login! Please try again...
I also can't touch the machine using my private NIC. I type in the ip address 10.20.7.1:80 (as I renumbered the port) and no luck. page cannot be found!
I also cannot start the service from the Config Manager.
HELP!
what do I need to do? |
|
Back to top |
|
|
Craig Hastings
Joined: 03 Nov 2004 Posts: 6 Location: Toronto Canada
|
Posted: Wed Nov 03, 2004 2:24 am Post subject: RE: what am I missing |
|
|
I think your problem might be that your have put the listener for firstspot on port 80. This looks like it might be Very Bad VooDoo.
Firstspot is set to catch traffic on Port 80 that is not authenticated. And redirect them to the log on page. The software works very well, I wouldn't move the ports around unless there was a really good reason for doing so. Besides you don't want your users getting the Firstspot Admin Logon Screen. :) |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed Nov 03, 2004 3:29 am Post subject: |
|
|
Like what Craig said, try to reinstall FirstSpot with default ports first.
Also, you shouldn't need to access URL such as http://localhost directly. Again:
1) To access Configuration Manager, use the shortcut in the Windows Start Menu
2) To access login page, type any VALID web site in the client side. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
iwantin
Joined: 03 Nov 2004 Posts: 8
|
Posted: Wed Nov 03, 2004 3:32 am Post subject: didn't work |
|
|
Hello,
thanks for the quick turn around time on the reply!
I changed the port.. cuz the original ports didn't work..
ok..
so I have a PC with two nics.
one is the public
other is private
private... I try to et dhcp to work.. and nadda....
I statically make the
IP: 10.20.7.2
mask: 255.255.255.0
gateway: blank
dns server: 10.20.7.1
is this right? will that work?
and why doesn't dhcp work?
so I'm reading I shouldn't type in the 10.20.7.1/login_form.php directly.. but I did of course.. and the server works.. I get the page.. good news!
so.. how do I make the server pick up my traffic?
I can feel I'm almost there...!
Thanks.
more info
config.ini
-------------------------------------------------------------
;
; Description : FirstSpot Setup INF file
;
; Filename : config.ini
;
; Copyright (c) 2002-2004, PatronSoft Limited
;
; Note: use a slash to separate directories and files, those lines starting with
; a semi-colon are considered as comments.
;
; Warning : please don't change this file without supervision of a PatronSoft Engineer
; It is highly recommended that you change the FirstSpot setting in the Web-based Configuration Manager
[version]
version=Trial
versionDesc=3.0.0 (Beta 2)
[MNS]
; number of return paths
num_return_path=0
return_path0=
[DHCP]
leasetime=2880
num_ignored_addr=0
ignore_addr0=
[Client Pass]
num_mac_addr=0
mac_0=
num_ip_addr=0
ip_0=
;
; Redirect Login Page php file
;
[loginPhp]
Login_enable0=
Login_php_Num0=
;
; Gateway Settings
;
[gateway]
;redirect user to cart.php when login fails
redirect_cart=1
;Client Isolation, NetBIOS over TCP/IP, Default is Disabled
netbios=1
;Scenario 2 (Distributed Network Topology)
scenario2=0
; Post-Startup Batch File Path Name
batch_filePath =
; lan's subnet mask (please change this through Configuration Manager only)
;
subnet_mask =255.255.255.0
; domain name server IP address
;
DNS =0.0.0.0
; domain name server IP address
;
preferred_DNS =0.0.0.0
; domain name server IP address
;
alternate_DNS =0.0.0.0
; username
;
user =firstspot
; password
;
pass =a03af780c0f2959f26512a2cc8c2efb6
;Number of maximum administrator account
max_admin_account = 10
;Administrator username
admin_username0 =
admin_username1 =
admin_username2 =
admin_username3 =
admin_username4 =
admin_username5 =
admin_username6 =
admin_username7 =
admin_username8 =
admin_username9 =
;Administrator password
admin_password0 =
admin_password1 =
admin_password2 =
admin_password3 =
admin_password4 =
admin_password5 =
admin_password6 =
admin_password7 =
admin_password8 =
admin_password9 =
;Administrator parameter
admin_parameter0 =
admin_parameter1 =
admin_parameter2 =
admin_parameter3 =
admin_parameter4 =
admin_parameter5 =
admin_parameter6 =
admin_parameter7 =
admin_parameter8 =
admin_parameter9 =
; network interface card connected to Internet (after modify this, need to restart FirstSpot)
;
publicNIC=Local Area Connection
; network interface card connected Hotspots or visitor-based networks (after modify this, need to bind the FirstHop driver
; to this new card and unbind the FirstHop driver from ALL other cards, then reboot Windows)
;
privateNIC=Local Area Connection 2
; data source for user login
;
Datasource =C:\Program Files\FirstSpot\datasource\firstspot.dsn
; datasource table for user login
;
Datasource_Tablename =fsusr
; datasource table for user login
Datasource_Plans_Tablename =fsplans
; enable session logging into the datasource log table
session_log =ON
; datasource table for user session logging
;
Datasource_Log_Tablename =fsusrlog
; datasource table for PayPal
;
Datasource_PayPal_Table=ppal
; port used by Gateway Service
;
port =5786
; port used by Authentication Server
;
auth_port =5788
; port used by ssl site
;
ssl_port =5789
; Greeting message displayed in login page
;
greeting_msg =Welcome to our Hotspot!
; Enable to show InfoBox
;
show_infobox =ON
; Login page picture (filename)
;
loginpage_pic_name=autumn.jpg
; authentication server IP address (please change this through Configuration Manager only)
; Note: different from gateway_IP when it is not installed in gateway (not officially supported in this version)
;
auth_IP =10.20.7.1
; login page filename which dispatcher will call
;
loginpage =login_select.php
; login form filename which login_select.php will call
;
loginform =login_form.php
; anonymous login form filename which login_select.php will call
;
a_loginform =alogin_form.php
; authentication form filename which authentication.php will call
;
reauthenticationform =reauth_form.php
; anonymous authentication form filename which authentication.php will call
;
a_reauthenticationform =alogout_form.php
; idle time (minutes) allowed for authenticated users
;
idle_timeout =10
; private network (please change this through Configuration Manager only)
;
private_IP =10.20.7.0
; gateway IP address (please change this through Configuration Manager only)
;
gateway_IP =10.20.7.1
; allow access to config manager from private network?
;
access_from_private =off
; allow access to config manager from public network?
;
access_from_public =off
; license file path
;
licensepath =C:\Program Files\FirstSpot\
; session handling mode, 0 for MAC-based, 1 for IP-based
session_handling =0
; path for dhcp config
dhcppath =C:\Program Files\FirstSpot\dhcp\dhcpservice.ini
; dhcp mode, 0 = auto, 1 = static, 2 = disabled
dhcpmode =0
; for static dhcp only, path of the Ip MAC mapping list
static_dhcp_path =C:\Program Files\FirstSpot\StaticDHCP.txt
; anonymous login
anonymous_login =off
; secret enable
secret_enable=off
; secret code
secret_code=0aed120c6f7090a5b26a4c93df382b21
; anonymous login user table name
Datasource_Anonymous_Tablename =fsa
; anonymous login log table name
Datasource_Anonymous_Log_Tablename =fsalog
; password offloading mode
pwd_offload =off
; password encryption directory path
encrypt_path =C:\Program Files\FirstSpot\dispatcher\encrypt_pwd.exe
; initial air time in minutes for self signup users
self_sign_up_credit=0
; self signup filtering
self_signup_filter=1
;allow self-signup without an ip/mac, 0=yes, 1=no
self_signup_no_mac=1
; null=no filter, 0 = signup once, >0 after x mins
self_signup_period=
;use 3 party ssl cert 0=yes 1=no
ssl_cert=1
;secure socket layer for authentication
;443 for enabled SSL, auth_port=ssl_auth_port for disabled ssl
ssl_auth_port=5788
;rewrite engine for http to https redirection
rewrite_engine=off
;NAT
nat=0
;maximum fail attempt allowed
max_attempt=
; Allowed Hosts Settings
;
[allowed hosts]
; allowed hosts keywords file path
;
hosts_keywords_path =C:\Program Files\FirstSpot\AllowedHostsKeywords.txt
; allowed hosts IPs file path
;
hosts_ips_path =C:\Program Files\FirstSpot\AllowedHostsIps.txt
; Bandwidth Throttle Settings
[bw_throttle]
; Bandwidth Throttle Mode
bt_mode =0
; Overall Upload Limit (at least 20KB/s recommended)
bt_ul_limit =0
; Overall Download Limit (at least 20KB/s recommended)
bt_dl_limit =0
; low, medium and high definition
bt_low=100
bt_medium=50
bt_high=20
bt_drop_period=2
[bwreset]
bwresetmethod=
bwresetperiod=
lastresetbw=
[creditcard]
payment_method=ppal
[paypal]
; Business id
;
ppal_business=your_business_id@your_email.com
; URL for successful transactions
;
ppal_return=http://10.20.7.1:5788/cart.php
; URL for cancelled transactions
;
ppal_cancal_return=http://10.20.7.1:5788/cart.php
; trust "Pending"=="Complete"?
;
ppal_pending_release=no
; the settlement currency
;
ppal_base_currency=USD
; URL for notify
;
ppal_notify_url=http://fixed_ip:5789
; Starting number for invoice
;
ppal_invoice_start=1
[worldpay]
; Installation id
;
wpay_instID=your_installation_ID
; the settlement currency
;
wpay_base_currency=USD
; URL for notify
;
wpay_notify_url=http://fixed_ip:5789
; Test Mode
; 100 : test mode - always successful validation
; 101 : test mode - always failed validation
; 0 : test mode - live mode, not testing
;
wpay_testmode=0
[lang]
lang_pack_file=custom_lang.php
cmlang_pack_file=custom_cmlang.php
last_logout=logout
this_logout=logout
last_info=infobox
this_info=infobox
last_cart=cart
this_cart=cart
key_0=
url_0=
signup01=off
signup02=off
signup03=off
signup04=off
signup05=off
signup06=off
signup07=off
signup08=off
signup09=off
signup10=off
; Setting of cart description
[cart]
max_slot_open=0
[radius]
use_radius=false
ServerIP=10.20.7.1
AuthPort=1812
AccPort=1813
Secret=secret
FSVendorID=2004
Datasource=C:\Program Files\FirstSpot\datasource\radius.dsn
Datasource_Tablename=fsRadius
Acc_Start=true
Acc_Stop=true
;Acc_FSLogin=true
;Acc_FSLogout=true
;Acc_FSWriteLog=true
[radiusAuthentication]
NAS_IDENTIFIER=FirstSpot
;NAS_IP_ADDRESS=the private nic ip, this can be edited.
;CALLING_STATION_ID=client nic mac or ip, depends on the Firstspot setting, this can not be edited.
;CALLED_STATION_ID=firstspot private nic mac, this can not be edited.
[radiusCustomAttribute]
;Vendor spec type for Firstspot
;fixed value can not be changed.
;
;FS_AUTH_TIMELEFT=1
;FS_AUTH_ACCUMBW=2
;FS_AUTH_BWQUOTA=3
;FS_AUTH_BWCOUNT=4
;FS_AUTH_ULLIMIT=5
;FS_AUTH_DLLIMIT=6
;FS_AUTH_LOGINTIME=7
;FS_AUTH_LOGOUTTIME=8
;FS_AUTH_TIMEDIFF=9
;FS_AUTH_BWUSAGE=10
;Account Status Type Attributes, can be changed.
;
;default ACCT_STATUS_FSLOGIN=217
;default ACCT_STATUS_FSLOGOUT=218
;default ACCT_STATUS_FSWRITELOG=219
[misc]
show_cart=yes
enable_chgpwd=1
block_icmp=off
block_udp=on
_debug=1
oem=C:\WINNT\INF\oem56.inf
PublicAdapterIP=xxx.xxx.xxx.xxx
PublicAdapterIpMask=255.255.255.0
------------------------------------------------------------------ |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed Nov 03, 2004 3:45 am Post subject: |
|
|
The DHCP should work. Please post your ipconfig/all dump in the FirstSpot machine as well.
If you want to set the IP statically, it should be:
IP: 10.20.7.2
mask: 255.255.255.0
gateway: 10.20.7.1
dns server: 10.20.7.1 _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
iwantin
Joined: 03 Nov 2004 Posts: 8
|
Posted: Wed Nov 03, 2004 4:07 am Post subject: alright... |
|
|
so.. I uninstalled
Then reinstalled.. (default ports)
Then rebooted...
ran a ping from my client (who's connected via hub) to the firstspot server's private nic.. and I can ping
opened browser.. and nothing.
IP is still static at this time..
----------------------------------------------
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : MYWireless
Primary DNS Suffix . . . . . . . : firstspot.org
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : mycompany.com
sub.mycompany.com
Ethernet adapter Local Area Connection 4:
Media State . . . . . . . . . . . : Cable Disconnected
Description . . . . . . . . . . . : IBM 10/100 EtherJet CardBus Adapter
Physical Address. . . . . . . . . : 00-10-A4-A8-FF-93
Ethernet adapter Local Area Connection 2:
Media State . . . . . . . . . . . : Cable Disconnected
Description . . . . . . . . . . . : IEEE 802.11g Wireless Cardbus/PCI Ad
apter
Physical Address. . . . . . . . . : 00-40-F4-9D-B0-F8
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/100+ MiniPCI
Physical Address. . . . . . . . . : 00-90-27-97-A6-31
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.20.7.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.20.7.1
DNS Servers . . . . . . . . . . . : 10.20.7.1
-------------------------------------
I opened from progam menu the configurator.. and logged out.. didn't have to do anything there right..?! oh.. and
under adminstration, the firstspot status is stopped... It's always been like this... and restart or start.. doesn't get it up |
|
Back to top |
|
|
iwantin
Joined: 03 Nov 2004 Posts: 8
|
Posted: Wed Nov 03, 2004 4:12 am Post subject: forgot to post firstspot's ipconfig |
|
|
the other was the client's ipconfig
here's the server side
----------------
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : testbox
Primary DNS Suffix . . . . . . . : firstspot.org
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : firstspot.org
sub.mycompany.com
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : IBM 10/100 EtherJet PCI Management A
dapter
Physical Address. . . . . . . . . : 00-02-55-30-D7-C9
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.20.7.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 10.20.7.1
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : sub.mycompany.com
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connect
ion
Physical Address. . . . . . . . . : 00-0D-60-20-6B-30
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : xxx.xxx.xxx.xxx
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : xxx.xxx.xxx.1
DHCP Server . . . . . . . . . . . : xxx.xxx.xxx.xxx
DNS Servers . . . . . . . . . . . : xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx
Primary WINS Server . . . . . . . : xxx.xxx.xxx.xxx
Secondary WINS Server . . . . . . : xxx.xxx.xxx.xxx
Lease Obtained. . . . . . . . . . : Tuesday, November 02, 2004 10:56:37
PM
Lease Expires . . . . . . . . . . : Wednesday, November 03, 2004 10:56:3
7 PM
--------------------
I put the xxx.xxx.xxx.xxx and mycompany.com to protect me so I don't get fired. :) |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed Nov 03, 2004 4:12 am Post subject: |
|
|
You need to reboot also after uninstall. Then run install and reboot again. This sounds tedious but we encountered problem like that in the past. _________________ ~ Patronsoft Limited ~
Last edited by alan on Wed Nov 03, 2004 4:15 am; edited 1 time in total |
|
Back to top |
|
|
iwantin
Joined: 03 Nov 2004 Posts: 8
|
Posted: Wed Nov 03, 2004 4:15 am Post subject: yes |
|
|
I did the reboot after un and after re install
I know you're gonna see something that will fix us up. I just know!
it sucks when you're this close! |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed Nov 03, 2004 4:20 am Post subject: |
|
|
sorry I might miss something here. Have you started FirstSpot yet? You should see the word "STARTED" under STATUS within Configuration Manager.
If you cannot start for any reason, please post the error.log file (under FirstSpot\log subdirectory). _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
iwantin
Joined: 03 Nov 2004 Posts: 8
|
Posted: Wed Nov 03, 2004 4:29 am Post subject: no error.log |
|
|
i don't see an error.log...
<shrug>
I clicked start.. then restart.. then logout...
and nothing produced. |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed Nov 03, 2004 5:00 am Post subject: |
|
|
Strange.
Then zip us all the log files under FirstSpot\log and send it to firstspot@patronsoft.com _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed Nov 03, 2004 5:23 am Post subject: |
|
|
Received your log files.
It is obvious that FirstSpot is not started! Try to issue the following command to start FirstSpot in the command prompt:
net start "PatronSoft FirstSpot Dispatcher" _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
iwantin
Joined: 03 Nov 2004 Posts: 8
|
Posted: Wed Nov 03, 2004 5:27 am Post subject: got it! |
|
|
I tried to run the Firstspot service first.. and it said a dependency was not running..
so I ran it.. The Computer Browser was disabled..... :)
Thank you VERY much for the help...
I'm sure I'll be back with more... but for now... I can sleep tonight.
Thanks again.. your product looks sooo great!
and your support was outstanding!
Thanks. |
|
Back to top |
|
|
|