Steve
01-27-2004, 06:16 PM
Just some notes I took while testing Hotspot & Auto-auth....
////////////////////////////////////////////////////////////////
Radius Server Entry:
# My Laptop
00060244e323 Auth-Type := Local, User-Password == "00060244e323"
Framed-IP-Address = 192.168.2.55,
MS-Primary-DNS-Server = 10.10.10.10,
MS-Secondary-DNS-Server = 10.10.10.12,
VNC-PPPoE-CBQ-TX = 768000,
VNC-PPPoE-CBQ-RX = 768000
# Test User Login
hotspot Auth-Type := Local, User-Password == "testone"
Framed-IP-Address = 192.168.2.65,
MS-Primary-DNS-Server = 10.10.10.10,
MS-Secondary-DNS-Server = 10.10.10.12,
VNC-PPPoE-CBQ-TX = 512000,
VNC-PPPoE-CBQ-RX = 512000
Auto-auth Configuration
Default Gateway: 192.168.2.1
Subnet Mask: 255.255.255.0
Primary DNS: 10.10.10.10
Secondary DNS: 10.10.10.12
Lease Duration: 1700
[X] Use radius
[ ] Create hotspot session
IP Address Range ─(205 IPs)
192 . 168 . 2 . 50 First IP
192 . 168 . 2 . 254 Last IP
Hotspot Setup
[X] Enable HotSpot
Idle Timeout: 600
Maximum Session Time: 1800
MAC Auth Format: ( ) 00:02:b1.. (o) 0002b1..
[X] Use CHAP Auth (recommended)
[X] Auth via MAC before login page
[ ] Verify Framed-IP-Address with client
[X] View splash page
[X] Splash web-based login users
[ ] Splash PPPoE & PPtP users
CBQ Defaults
[ ] Assign a default CBQ rate to users
RX: 128k TX: 56k (ie: 128K)
////////////////////////////////////////////////////////////////
Results:
Laptop was redirected to Splash Page. No Login page.
IP Address: 192.168.2.55
CBQ 768/768
////////////////////////////////////////////////////////////////
Changed:
[ ] Auth via MAC before login page
Results:
Hotspot Login Screen
Splash
IP Address: 192.168.2.55
Note: Still assigning IP based on MAC entry in Radius (or laptop just isn't giving up the one it already has?)
////////////////////////////////////////////////////////////////
NOTE: I changed the Framed IP in Radius on a couple of these, just don't remember which (192.168.2.70)
ALSO: SPLASH = SUCCESS
/////////////////////////////////////
Changed:
Commented out Laptop's MAC entry in Radius
[X] Auth via MAC before login page
Results:
Attempting Automatic Login Failed (mac-auth)
Login Screen: username & password accepted
Splash Screen
IP Address: 192.168.2.55
CBQ: 512/512
////////////////////////////////////////////////////////////////
Changed:
[X] Create hotspot session
Mac still commented out in Radius
Results:
Hotspot Login Screen
Splash
IP Address: 192.168.2.55
CBQ: 512/512
////////////////////////////////////////////////////////////////
Changed:
Uncommented Laptop's MAC entry in Radius
Results:
No entries regarding Hotspot being initiated.
PC would not pull new IP unless I manually issued ipconfig /renew
Then the following was logged via KIWI multiple times in a row
hotspot: 00060244e323 (192.168.2.70 - 00:08:02:44:e3:23) - rx rate 768Kbps, tx rate 768Kbps
kernel: cbq: pipe 16512 already exists, adjusting rate.
kernel: cbq: pipe 16513 already exists, adjusting rate.
After that:
Splash Page
////////////////////////////////////////////////////////////////
Changed:
Commented out Laptop's MAC entry in Radius
[ ] Auth via MAC before login page
[X] Use radius
[X] Create hotspot session
Results:
Login Screen
Splash Screen
////////////////////////////////////////////////////////////////
Changed:
Uncommented Laptop's MAC entry in Radius
[ ] Auth via MAC before login page
[X] Use radius
[X] Create hotspot session
On Laptop:
ipconfig /release
disable radio
enable radio
Strangeness:
KIWI logs
hotspot: 00060244e323 (192.168.2.70 - 00:08:02:44:e3:23) - rx rate 768Kbps, tx rate 768Kbps
5 TIMES in a row.
Hotspot Session List is Empty
Results:
Unknow. First time nothing. Issued ipconfig /renew on Laptop and KIWI reported above lines again. Tried to surf got Splash Screen
////////////////////////////////////////////////////////////////
Changed:
Uncommented Laptop's MAC entry in Radius
[X] Auth via MAC before login page
[X] Use radius
[ ] Create hotspot session
Results:
Attempting Automatic Login
Splash Screen
//////////////////////////////////////////////////////////////
Changed:
Uncommented Laptop's MAC entry in Radius
[ ] Auth via MAC before login page
[X] Use radius
[ ] Create hotspot session
Results:
Login Screen
Splash Screen
///////////////////////////////////////////////////////////////
Changed:
Commented out Laptop's MAC entry in Radius
[ ] Auth via MAC before login page
[X] Use radius
[ ] Create hotspot session
192 . 168 . 2 . 200 First IP
Results:
Login Screen
Splash Screen
CBQ: 512/512
Strangeness:
IP did not renew to something above 200? Nothing short of a reboot on the Laptop would get it to change...
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
Radius Server Entry:
# My Laptop
00060244e323 Auth-Type := Local, User-Password == "00060244e323"
Framed-IP-Address = 192.168.2.55,
MS-Primary-DNS-Server = 10.10.10.10,
MS-Secondary-DNS-Server = 10.10.10.12,
VNC-PPPoE-CBQ-TX = 768000,
VNC-PPPoE-CBQ-RX = 768000
# Test User Login
hotspot Auth-Type := Local, User-Password == "testone"
Framed-IP-Address = 192.168.2.65,
MS-Primary-DNS-Server = 10.10.10.10,
MS-Secondary-DNS-Server = 10.10.10.12,
VNC-PPPoE-CBQ-TX = 512000,
VNC-PPPoE-CBQ-RX = 512000
Auto-auth Configuration
Default Gateway: 192.168.2.1
Subnet Mask: 255.255.255.0
Primary DNS: 10.10.10.10
Secondary DNS: 10.10.10.12
Lease Duration: 1700
[X] Use radius
[ ] Create hotspot session
IP Address Range ─(205 IPs)
192 . 168 . 2 . 50 First IP
192 . 168 . 2 . 254 Last IP
Hotspot Setup
[X] Enable HotSpot
Idle Timeout: 600
Maximum Session Time: 1800
MAC Auth Format: ( ) 00:02:b1.. (o) 0002b1..
[X] Use CHAP Auth (recommended)
[X] Auth via MAC before login page
[ ] Verify Framed-IP-Address with client
[X] View splash page
[X] Splash web-based login users
[ ] Splash PPPoE & PPtP users
CBQ Defaults
[ ] Assign a default CBQ rate to users
RX: 128k TX: 56k (ie: 128K)
////////////////////////////////////////////////////////////////
Results:
Laptop was redirected to Splash Page. No Login page.
IP Address: 192.168.2.55
CBQ 768/768
////////////////////////////////////////////////////////////////
Changed:
[ ] Auth via MAC before login page
Results:
Hotspot Login Screen
Splash
IP Address: 192.168.2.55
Note: Still assigning IP based on MAC entry in Radius (or laptop just isn't giving up the one it already has?)
////////////////////////////////////////////////////////////////
NOTE: I changed the Framed IP in Radius on a couple of these, just don't remember which (192.168.2.70)
ALSO: SPLASH = SUCCESS
/////////////////////////////////////
Changed:
Commented out Laptop's MAC entry in Radius
[X] Auth via MAC before login page
Results:
Attempting Automatic Login Failed (mac-auth)
Login Screen: username & password accepted
Splash Screen
IP Address: 192.168.2.55
CBQ: 512/512
////////////////////////////////////////////////////////////////
Changed:
[X] Create hotspot session
Mac still commented out in Radius
Results:
Hotspot Login Screen
Splash
IP Address: 192.168.2.55
CBQ: 512/512
////////////////////////////////////////////////////////////////
Changed:
Uncommented Laptop's MAC entry in Radius
Results:
No entries regarding Hotspot being initiated.
PC would not pull new IP unless I manually issued ipconfig /renew
Then the following was logged via KIWI multiple times in a row
hotspot: 00060244e323 (192.168.2.70 - 00:08:02:44:e3:23) - rx rate 768Kbps, tx rate 768Kbps
kernel: cbq: pipe 16512 already exists, adjusting rate.
kernel: cbq: pipe 16513 already exists, adjusting rate.
After that:
Splash Page
////////////////////////////////////////////////////////////////
Changed:
Commented out Laptop's MAC entry in Radius
[ ] Auth via MAC before login page
[X] Use radius
[X] Create hotspot session
Results:
Login Screen
Splash Screen
////////////////////////////////////////////////////////////////
Changed:
Uncommented Laptop's MAC entry in Radius
[ ] Auth via MAC before login page
[X] Use radius
[X] Create hotspot session
On Laptop:
ipconfig /release
disable radio
enable radio
Strangeness:
KIWI logs
hotspot: 00060244e323 (192.168.2.70 - 00:08:02:44:e3:23) - rx rate 768Kbps, tx rate 768Kbps
5 TIMES in a row.
Hotspot Session List is Empty
Results:
Unknow. First time nothing. Issued ipconfig /renew on Laptop and KIWI reported above lines again. Tried to surf got Splash Screen
////////////////////////////////////////////////////////////////
Changed:
Uncommented Laptop's MAC entry in Radius
[X] Auth via MAC before login page
[X] Use radius
[ ] Create hotspot session
Results:
Attempting Automatic Login
Splash Screen
//////////////////////////////////////////////////////////////
Changed:
Uncommented Laptop's MAC entry in Radius
[ ] Auth via MAC before login page
[X] Use radius
[ ] Create hotspot session
Results:
Login Screen
Splash Screen
///////////////////////////////////////////////////////////////
Changed:
Commented out Laptop's MAC entry in Radius
[ ] Auth via MAC before login page
[X] Use radius
[ ] Create hotspot session
192 . 168 . 2 . 200 First IP
Results:
Login Screen
Splash Screen
CBQ: 512/512
Strangeness:
IP did not renew to something above 200? Nothing short of a reboot on the Laptop would get it to change...
////////////////////////////////////////////////////////////////