View previous topic :: View next topic |
Author |
Message |
ao Guest
|
Posted: Mon May 10, 2004 9:29 pm Post subject: dhcp problem with demo |
|
|
I have a problem in that the first spot is not assigning an ip address to my test client over a xover cable, i have followed an earlier post with a sequence to boot and renew the ip, i have uninstalled and reinstall, but still no IP. if i set a static ip i can ping the private nic and the public nic and even ping a web page on the internet resolving dns, but i can not view the welcome page or the login page... any ideas???? |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Tue May 11, 2004 2:58 am Post subject: |
|
|
1) Sometimes Windows DHCP client will time out too early. Try to :
i) do a ipconfig/release, then ipconfig/renew
ii) ipconfig/renew again
2) if you are able to ping private nic, public nic, Internet web site, etc... At the least routing portion of FirstSpot is working
3) Since you are unable to see the login page, it might be related to the Network card "offloading" problem. Refer to the Notes section, point 7 of readme.rtf for details. BTW, what network card are you using for the Private Network Interface? Please post your config.ini and ipconfig/all if you still have problems. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
alexo
Joined: 10 May 2004 Posts: 3
|
Posted: Tue May 11, 2004 5:48 am Post subject: Thanks for your reply alan |
|
|
I am using realtek rtl 8139(a) as the internet nic and realtek rtl 8029(as) as the private nic nether have the offloading option in advance,
I have just tried the ipconfig /release, renew, renew but still no IP.
Here is a dump of my network config and config.ini
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : hotspot
Primary DNS Suffix . . . . . . . : firstspot.com
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : firstspot.com
Ethernet adapter private:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8029(AS) PCI Ethernet Ada
pter #2
Physical Address. . . . . . . . . : 00-20-18-55-5F-4C
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 internet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8139(A) PCI Fast Ethernet
Adapter
Physical Address. . . . . . . . . : 00-E0-4C-39-00-07
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.88
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.99
DNS Servers . . . . . . . . . . . : 62.81.232.18
213.0.98.6
;
; 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.6
[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 =0.0.0.0
; username
;
user =firstspot
; password
;
pass =a03af780c0f2959f26512a2cc8c2efb6
; network interface card to Internet
;
publicNIC=internet
; network interface card of LAN
;
privateNIC=private
; 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
;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
[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:\WINNT\INF\oem0.inf
PublicAdapterDescNme={C7A43FE3-E643-492E-B13F-971DD4AA565A}
PublicAdapterIP=192.168.0.88
PublicAdapterIpMask=255.255.255.0
PrivateAdapterDescNme={CDA51166-25D1-46A6-BD7B-78D64EBDBE54}
PrivateAdapterDisplayNme=Realtek RTL8029(AS) PCI Ethernet Adapter #2
PublicAdapterDisplayNme=Realtek RTL8139(A) PCI Fast Ethernet Adapter
PrivateMAC=002018555f4c |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Tue May 11, 2004 6:48 am Post subject: |
|
|
Just curious, have you successfully start FirstSpot via Configuration Manager? Use the instruction on Chapter 2 i) a. for test using crossover cable (see pt 2 of http://www.patronsoft.com/forum/viewtopic.php?p=486#486 for a similar case).
If you still have problem, please:
1) change to _debug=3 in config.ini (this will generate a lot of logs and slow down or even hang the machine). Restart FirstSpot and let the client to connect to FirstSpot. Then send us the debug log under FirstSpot\log to firstspot@patronsoft.com. You might want to change back to _debug=1 and restart FirstSpot afterwards.
2) Alternatively, reinstall FirstSpot and use rtl 8139 as Private Network Interface (since we do a lot of testing on rtl 8139 for our FirstHop driver, which bind to the Private Network Interface). Please try point 1 first since we really want to find out the root cause of the problem. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
alexo
Joined: 10 May 2004 Posts: 3
|
Posted: Tue May 11, 2004 8:14 pm Post subject: |
|
|
Hi Alan thanks once again, i changed the network cards around and that sorted out the problem. I can now enjoy the free trial! |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed May 12, 2004 12:24 am Post subject: |
|
|
Did you happen to get the debug log on your realtek rtl 8029(as)? _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
alexo
Joined: 10 May 2004 Posts: 3
|
Posted: Wed May 12, 2004 5:43 am Post subject: |
|
|
No i did not, but i will do that for you and sent it .
Q. If a client connects and enters the logon screen, but then clicks on a free web site - my portal for example - is there a way that the can view my portal but once they click on a link out of my portal they need to sign in? |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed May 12, 2004 6:03 am Post subject: |
|
|
Thank you in advance. It is customer like you that makes FirstSpot a better product.
For your question, you can take advantage of our Exception Free Web sites feature. Just refer to the manual firstspot_guide.pdf for details. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
|