SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

autoredirection

 
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum
View previous topic :: View next topic  
Author Message
franck.herzog
Guest





PostPosted: Thu Sep 02, 2004 10:42 pm    
Post subject: autoredirection

I just installed firstspot.

When I'm on the private network, IE is not redirected to the login page.

If I type manually the public IP I'm getting the login page but this doesn't work (some php session error).

Any idea ?

Regards,

Franck
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri Sep 03, 2004 2:53 am    
Post subject:

Note that you need to trigger the traffic from the client PC instead of the FirstSpot machine directly.

Also, you need to turn off the "Offloading" feature in the Private Network Interface network card. Refer to readme.rtf for details.

If you still have difficulty, please post the following:

FirstSpot machine:
ipconfig/all
config.ini

Client PC:
ipconfig/all
_________________
~ Patronsoft Limited ~
Back to top
hez68



Joined: 03 Sep 2004
Posts: 4

PostPosted: Fri Sep 03, 2004 12:13 pm    
Post subject: IPCONFIG

Now I have access to all free web site but always no redirection for other website

Here are the ipconfig /all

SERVER:

Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrateur>ipconfig /all

Configuration IP de Windows

Nom de l'hôte . . . . . . . . . . : client-6vssa0si
Suffixe DNS principal . . . . . . : firstspot.com
Type de noud . . . . . . . . . . : Diffusion
Routage IP activé . . . . . . . . : Oui
Proxy WINS activé . . . . . . . . : Oui
Liste de recherche du suffixe DNS : firstspot.com

Carte Ethernet Externe:

Suffixe DNS propre à la connexion :
Description . . . . . . . . . . . : Carte réseau 3Com EtherLink XL 10/10
0 PCI TX (3C905B-TX)
Adresse physique . . . . . . . . .: 00-50-04-BF-AD-CE
DHCP activé. . . . . . . . . . . : Non
Adresse IP. . . . . . . . . . . . : 192.168.0.203
Masque de sous-réseau . . . . . . : 255.255.255.0
Passerelle par défaut . . . . . . : 192.168.0.1
Serveurs DNS . . . . . . . . . . : 212.94.223.1

Carte Ethernet Interne:

Suffixe DNS propre à la connexion :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connect
ion
Adresse physique . . . . . . . . .: 00-0D-56-2D-3D-1C
DHCP activé. . . . . . . . . . . : Non
Adresse IP. . . . . . . . . . . . : 10.20.7.1
Masque de sous-réseau . . . . . . : 255.255.255.0
Passerelle par défaut . . . . . . :
Serveurs DNS . . . . . . . . . . : 10.20.7.1



Client:


C:\Documents and Settings\Client>ipconfig /all

Configuration IP de Windows

Nom de l'hôte . . . . . . . . . . : ALTIRIS
Suffixe DNS principal . . . . . . :
Type de noud . . . . . . . . . . : Hybride
Routage IP activé . . . . . . . . : Non
Proxy WINS activé . . . . . . . . : Non

Carte Ethernet Connexion au réseau local:

Suffixe DNS propre à la connexion : firstspot.com
Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connecti
on
Adresse physique . . . . . . . . .: 00-0F-1F-A5-16-88
DHCP activé. . . . . . . . . . . : Oui
Configuration automatique activée . . . . : Oui
Adresse IP. . . . . . . . . . . . : 10.20.7.196
Masque de sous-réseau . . . . . . : 255.255.255.0
Passerelle par défaut . . . . . . : 10.20.7.1
Serveur DHCP. . . . . . . . . . . : 10.20.7.1
Serveurs DNS . . . . . . . . . . : 212.94.223.1
10.20.7.1
Bail obtenu . . . . . . . . . . . : jeudi 2 septembre 2004 18:36:50
Bail expirant . . . . . . . . . . : samedi 4 septembre 2004 18:36:50

Carte Ethernet Connexion réseau sans fil:

Statut du média . . . . . . . . . : Média déconnecté
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 2200BG Network
Connection
Adresse physique . . . . . . . . .: 00-0E-35-21-78-1B
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri Sep 03, 2004 1:42 pm    
Post subject:

Can you post your config.ini too? It is located in the FirstSpot directory.
_________________
~ Patronsoft Limited ~
Back to top
hez68



Joined: 03 Sep 2004
Posts: 4

PostPosted: Fri Sep 03, 2004 1:55 pm    
Post subject: Config file

;
; 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=2.1.11

[MNS]
; number of return paths
num_return_path=0
return_path0=

;
; Redirect Login Page php file
;
[loginPhp]
Login_enable0=
Login_php_Num0=

;
; Gateway Settings
;
[gateway]

; Post-Startup Batch File Path Name
batch_filePath =

; lan's subnet mask
;
subnet_mask =255.255.255.0

; domain name server IP address
;
DNS =212.94.223.1

; domain name server IP address
;
preferred_DNS =212.94.223.1

; domain name server IP address
;
alternate_DNS =0.0.0.0

; username
;
user =firstspot

; password
;
pass =a03af780c0f2959f26512a2cc8c2efb6

; network interface card to Internet
;
publicNIC=Externe

; network interface card of LAN
;
privateNIC=Interne

; data source for user login
;
Datasource =C:\Program Files\FirstSpot\datasource\firstspot.dsn

; datasource table for user login
;
Datasource_Tablename = fsusr


; 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=pic.jpg

; authentication server IP address
; 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

; logout form filename which logout.php will call
;
logoutform =logout_form.php

; anonymous logout form filename which logout.php will call
;
a_logoutform =alogout_form.php

; idle time (minutes) allowed for authenticated users
;
idle_timeout =10

; private network
;
private_IP =10.20.7.0

; gateway IP address
;
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

; 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

;secure socket layer for authentication
;443 for enabled SSL, auth_port=ssl_auth_port for disabled ssl
ssl_auth_port=5788

;use 3 party ssl cert 0=yes 1=no
ssl_cert=1

;rewrite engine for http to https redirection
rewrite_engine=off

; 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=3


[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


[lang]
lang_pack_file=custom_lang.php


[misc]
show_cart=yes
block_icmp=off
block_udp=on
_debug=1
oem=C:\WINDOWS\INF\oem20.inf
PublicAdapterDescNme={BD727A58-0736-4441-B924-3C5C4873234F}
PublicAdapterIP=192.168.0.203
PublicAdapterIpMask=255.255.255.0
PrivateAdapterDescNme={96E5A949-7B80-4EE7-A3DF-40F7719C4DAA}
PrivateAdapterDisplayNme=Intel(R) PRO/1000 MT Network Connection
PublicAdapterDisplayNme=Carte réseau 3Com EtherLink XL 10/100 PCI TX (3C905B-TX)
PrivateMAC=000d562d3d1c
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri Sep 03, 2004 2:17 pm    
Post subject:

Can you make sure you turn off the Offloading feature (or hardware checksum) in your Intel card in the FirstSpot server (see readme.rtf for details)?
_________________
~ Patronsoft Limited ~
Back to top
hez68



Joined: 03 Sep 2004
Posts: 4

PostPosted: Fri Sep 03, 2004 5:48 pm    
Post subject: It's working

I changed the Intel based driver with a newer version...and now it's working.

Thank you,

Regards,

Franck
Back to top
Display posts from previous:   
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group