View previous topic :: View next topic |
Author |
Message |
atadti
Joined: 15 Feb 2005 Posts: 12
|
Posted: Tue Feb 15, 2005 6:05 pm Post subject: Test of http://publicip/firstspotdemo? |
|
|
In using the test from the firstspot_guide.pdf file, I am getting an browser error message when I try to access the http://PublicIP/firstspotdemo. The browsers shows the page as "This page cannot be displayed."
(PublicIP is the ip on the FS Public side NIC.)
My configuration is as such...
Client PC <-- x over cable ---->FS Private NIC
FS Public NIC <------------- > ADSL Line
From the client PC, I can successfully ping the FS Privite IP and the FS Public IP.
From the FS XP Pro computer, I can successfully ping the client IP, the FS Private IP, and the FS Public IP.
Any suggestions?
atadti |
|
Back to top |
|
|
atadti
Joined: 15 Feb 2005 Posts: 12
|
Posted: Tue Feb 15, 2005 8:48 pm Post subject: more info |
|
|
On the client PC, I can go directly to the webpage at http://10.20.7.1:5788. It seems that something is keeping the client request of the Public_IP page from being re-directed to the portal logon page.
atadti |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed Feb 16, 2005 2:27 am Post subject: |
|
|
Note that you cannot access http://10.20.7.1:5788 directly, it is not supported.
Is your Windows connect to the Internet via PPPoE? In that case, we suggest you putting a router between Windows and your ADSL modem, like:
Client -> FirstSpot (Windows) -> Router -> ADSL Modem
If you still have difficulties, please post your ipconfig/all dump and config.ini file. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
atadti
Joined: 15 Feb 2005 Posts: 12
|
Posted: Wed Feb 16, 2005 4:50 pm Post subject: Next Step... |
|
|
I configuured my network with a router.
Here is the config file and IP config files you requested.
-=-=-=-===-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FirstSpot Windows IP Configuration
Host Name . . . . . . . . . . . . : turbo_guard
Primary Dns Suffix . . . . . . . : firstspot.org
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : Yes
DNS Suffix Search List. . . . . . : firstspot.org
elkhart.com
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : elkhart.com
Description . . . . . . . . . . . : 3Com 3C905TX-based Ethernet Adapter
(Generic)
Physical Address. . . . . . . . . : 00-10-5A-12-63-17
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 209.184.248.60
151.164.1.8
Lease Obtained. . . . . . . . . . : Wednesday, February 16, 2005 1:42:34
AM
Lease Expires . . . . . . . . . . : Thursday, February 17, 2005 1:42:34
AM
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/100 M Desktop Adapter
Physical Address. . . . . . . . . : 00-07-E9-13-A4-33
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.20.7.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 10.20.7.1
==================================================
;
; Description : FirstSpot setting ini file
;
; Filename : config.ini
;
; Copyright (c) 2002-2004, PatronSoft Limited
;
; Note: use a backslash 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.4
[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]
;demo_mode=on, off (default)
;
;This demo_mode parameter is for FirstSpot channel partners demonstration purpose
;If demo_mode=on, FirstSpot DNS Server and Web Server will perform a catch-all on all
;requests. After the user login, the client will always see the "firstspotdemo" page.
demo_mode=off
;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=Realtek
; 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=SiS
; data source for user login
;
Datasource =c:\temp\book1.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 =80
; 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:\temp
; session handling mode, 0 for MAC-based, 1 for IP-based
session_handling =0
; path for dhcp config
dhcppath =
; 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:\temp
; 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 =
; 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:\temp\AllowedHostsKeywords.txt
; allowed hosts IPs file path
;
hosts_ips_path =C:\temp\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=
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
pkt_period=20
======================================
Client Test PC on Private side of course
Host Name . . . . . . . . . : COMPAQTEST.firstspot.org
DNS Servers . . . . . . . . : 10.20.7.1
Node Type . . . . . . . . . : Hybrid
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : No
WINS Proxy Enabled. . . . . : No
NetBIOS Resolution Uses DNS : No
0 Ethernet adapter :
Description . . . . . . . . : Intel 82557-based Integrated Fast Ethernet
Physical Address. . . . . . : 00-50-8B-DA-ED-E2
DHCP Enabled. . . . . . . . : Yes
IP Address. . . . . . . . . : 10.20.7.210
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 10.20.7.1
DHCP Server . . . . . . . . : 10.20.7.1
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . : 02 15 05 2:39:58 PM
Lease Expires . . . . . . . : 02 17 05 2:39:58 PM |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Thu Feb 17, 2005 2:43 am Post subject: |
|
|
Have you disabled offloading in your Intel card in the FirstSpot machine? Refer to readme.rtf for detailed instruction. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
atadti
Joined: 15 Feb 2005 Posts: 12
|
Posted: Thu Feb 17, 2005 5:07 am Post subject: |
|
|
yes |
|
Back to top |
|
|
dcgilpin
Joined: 29 Jan 2005 Posts: 19 Location: Oklahoma
|
Posted: Thu Feb 17, 2005 6:18 am Post subject: you are using two NICs |
|
|
...so why are you trying to run the demo? Also, turn off DHCP(client and server) and nail up IP addresses on both interfaces on your FirstSpot server -- not just the private interface...it's a SERVER. Just turn off DHCP for the whole solution except FS DHCP for your clients.
Anyway, if you enable ROUTING on your FirstSpot box I bet it will work. Try the following steps first with FirstSpot stopped.
Check the routing table on your server. Make sure both IP interfaces are in it. Then from your client PC you should be able to ping the public side of your server(192.168.1.101). If both interfaces aren't in the routing table my guess is that routing is not enabled -- enable it.
Next, from the client PC try to ping the public side of your router (192.168.1.1). If it doesn't work make sure you have a static route in your router that points to 10.20.7.0/255.255.255.0 through 192.168.1.1
In addition, the IP default gateway on the private interface should be itself (10.20.7.1) -- it needs to know how to get to the other IP networks. Although you may not need this once you enable routing on your server. |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Thu Feb 17, 2005 9:58 am Post subject: |
|
|
Which of the below descripton best describes your symptom:
1) You cannot see the FirstSpot login page at all, or
2) You can see the login page, but after the client PC successfully login it cannot see the demo page
Also, instead of the demo page, can the client PC surf the Internet? _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
atadti
Joined: 15 Feb 2005 Posts: 12
|
Posted: Thu Feb 17, 2005 1:15 pm Post subject: |
|
|
#1 is my issue.
The pdf guide says to enter http://192.168.1.101/firstspotdemo in my broswer on the client machine that is connected to the private NIC via a cross over cable. The browsers shows the page as "This page cannot be displayed."
The screen shot in the guide shows that I should have been redirected ot http://10.20.7.1:5788?{ other information }. I am not redirected to this login page. I am able to place the http://10.20.7.1:5788 in the url and get the page. I realize that this is not supported. I only did this to test to see if I had connectivity to the FS Private IP via http.
I am able to ping the FS public and privite IPs as will as the router IP from the client.
I can, from the client, go to www.google.com. So I thnk routing is not the issue. I think the issue is that something on the FS server is "hindering" the redirect of the url request to transfer the client broswer to the Login page. |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Thu Feb 17, 2005 2:17 pm Post subject: |
|
|
As you said, routing is okay. The problem should be in the driver.
Note that we did encounter problem in the past that Intel Network card (i.e. Private Network Interface) has problem disabling Offloading option within Network Properities. Please make sure you disable Offloading in the Windows Registry (as specified in the readme.rtf). _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
atadti
Joined: 15 Feb 2005 Posts: 12
|
Posted: Thu Feb 17, 2005 3:13 pm Post subject: |
|
|
I had to add the dword to the registry and set the value at 1. I did this sending you the config file and ipconfig files.
In the system event log on the FS server, it is showing that the Computer Browswer service time-out and the service stops.
Below is a copy of the log with my comments in the {{{ }}}}. (Time frame of action is bottom to top.)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
2/17/2005 9:01:36 AM Service Control Manager Error None 7023 N/A TURBO_GUARD
The Computer Browser service terminated with the following error:
This operation returned because the timeout period expired.
2/17/2005 9:01:36 AM Service Control Manager Information None 7036 N/A TURBO_GUARD
The Computer Browser service entered the stopped state.
{{{ Tried the http://public_ip/firstdemo from the client computer. Failed to render the page. Same error page showed. }}}
2/17/2005 8:56:35 AM Service Control Manager Information None 7036 N/A TURBO_GUARD
The Computer Browser service entered the running state.
2/17/2005 8:56:35 AM Service Control Manager Information None 7035 TURBO_GUARD\Harve
TURBO_GUARD The Computer Browser service was successfully sent a start control.
{{{ Restarted the Computer Browswer Service }}}}}}
2/17/2005 8:55:33 AM Service Control Manager Error None 7023 N/A TURBO_GUARD
The Computer Browser service terminated with the following error:
This operation returned because the timeout period expired.
2/17/2005 8:55:33 AM Service Control Manager Information None 7036 N/A TURBO_GUARD
The Computer Browser service entered the stopped state.
2/17/2005 8:52:05 AM Service Control Manager Information None 7036 N/A TURBO_GUARD
The PatronSoft FirstSpot Dispatcher service entered the running state.
2/17/2005 8:52:04 AM Service Control Manager Information None 7036 N/A TURBO_GUARD
The PatronSoft FirstSpot DHCP Server service entered the running state.
2/17/2005 8:52:04 AM Service Control Manager Information None 7035 NT AUTHORITY\SYSTEM TURBO_GUARD
The PatronSoft FirstSpot DHCP Server service was successfully sent a start control.
2/17/2005 8:52:02 AM Service Control Manager Information None 7036 N/A TURBO_GUARD
The ISC BIND service entered the running state.
2/17/2005 8:52:02 AM Service Control Manager Information None 7035 NT AUTHORITY\SYSTEM TURBO_GUARD
The ISC BIND service was successfully sent a start control.
2/17/2005 8:52:00 AM Service Control Manager Information None 7036 N/A TURBO_GUARD
The Routing and Remote Access service entered the running state.
2/17/2005 8:52:00 AM Service Control Manager Information None 7035 NT AUTHORITY\SYSTEM TURBO_GUARD
The Routing and Remote Access service was successfully sent a start control.
2/17/2005 8:51:36 AM Service Control Manager Information None 7036 N/A TURBO_GUARD
The Apache service entered the running state.
2/17/2005 8:51:33 AM E100B Warning None 8 N/A TURBO_GUARD
Adapter Intel(R) PRO/100 M Desktop Adapter: Did not receive auto-negotiation advertisement from link partner. A duplex mismatch may occur.
2/17/2005 8:50:35 AM Service Control Manager Information None 7035 NT AUTHORITY\SYSTEM TURBO_GUARD
The PatronSoft FirstSpot Dispatcher service was successfully sent a start control.
2/17/2005 8:50:31 AM Service Control Manager Information None 7036 N/A TURBO_GUARD
The Computer Browser service entered the running state. |
|
Back to top |
|
|
atadti
Joined: 15 Feb 2005 Posts: 12
|
Posted: Thu Feb 17, 2005 3:15 pm Post subject: |
|
|
In previous post, this line
{{{ Tried the http://public_ip/firstdemo from the client computer. Failed to render the page. Same error page showed. }}}
should have been
{{{ Tried the http://public_ip/firstspotdemo from the client computer. Failed to render the page. Same error page showed. }}} |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Thu Feb 17, 2005 3:31 pm Post subject: |
|
|
My guess is for some reason, FirstSpot driver is not quite compatable with your Intel card (we did do a lot of testing of Intel card though).
Anyway, please try the following:
1) put a switch between your Intel card and client PC (instead of using crossover cable)
2) if the above suggestion fails, reinstall FirstSpot with your 3com card as the Private Network Interface _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
atadti
Joined: 15 Feb 2005 Posts: 12
|
Posted: Thu Feb 17, 2005 3:51 pm Post subject: |
|
|
I have tried it with a switch instead of the cross over cable. Still same response.
Will look at replacing the Intel card as the private nic. |
|
Back to top |
|
|
atadti
Joined: 15 Feb 2005 Posts: 12
|
Posted: Thu Feb 17, 2005 5:10 pm Post subject: |
|
|
Its seems to be working now.
Here is what I had to do.
1. Uninstall FS
2. Replaced the Intel card with a 3Com card.(System has two 3COM cards.)
3. Client ->Switch--> FirstSpot (Windows XP) -> Router -> ADSL Modem
4. Re-installed FS...have the newly added NIC be the Private NIC.
Thanks for your assistance. I will stay with 3COM cards when working with FS in the future. |
|
Back to top |
|
|
|