Mailing List os2-wireless_users@2rosenthals.com Archived Message #3973

From: Kris Steenhaut <os2-wireless_users@2rosenthals.com> Full Headers
Undecoded message
Sender: os2-wireless_users-owner <os2-wireless_users-owner@2rosenthals.com>
Subject: [OS2Wireless] wlanstat question
Date: Thu, 06 Jan 2005 11:57:00 +0100
To: os2-wireless_users@2rosenthals.com



John Poltorak schreef:

On Thu, Jan 06, 2005 at 10:12:26AM +0100, Kris Steenhaut wrote:

 

- dhcp doesn't work
- when in xwlan set to "manually" and ip address 192.168.2.102, then connection is established and working for 100 %.
   


Can you post your setup.cmd

If you mean when trying to connect by means of dhcpthen it is:

route -fh
arp -f
ifconfig lo 127.0.0.1
: ifconfig lan1 192.168.100.1 netmask 255.255.255.0 broadcast 192.168.100.255 metric 1 mtu 1500
REM ifconfig lan2 metric 1 mtu 1500
.....
REM ifconfig lan7 metric 1 mtu 1500
dhcpstrt -i lan1
: ifconfig sl0
ipgate off

If you mean when being connected after manual intervention:

route -fh
arp -f
ifconfig lo 127.0.0.1
ifconfig lan1 192.168.2.102 netmask 255.255.255.0 metric 1 mtu 1500
REM ifconfig lan2
...
REM ifconfig lan7
route add default 192.168.2.1 -hopcount 1
ipgate off

 and the relevant part (last 20 lines) of your dhcpcd.cfg?

 


# Basic options required

clientid MAC
interface lan0

# Uncomment as desired for logging

#numLogFiles 4
#logFileSize 100
#logFileName dhcpcd.log
#logItem SYSERR
#logItem OBJERR
#logItem PROTERR
#logItem WARNING
#logItem EVENT
#logItem ACTION
#logItem INFO
#logItem ACNTING
#logItem TRACE

# The following are requested for interoperability with some servers which
# need explicit requests.

option 1 # Subnet Mask
option 3 # Router
option 6 # Domain Name Server
option 15 # Domain Name
option 28 # Broadcast Address
option 33 # Static Routes
option 60 "IBMWARP_V4.1" # Vendor Class
option 77 "IBMWARP_V4.1" # User Class

#updateDNSA "nsupdate -h%s -d%s -s"d;a;*;a;a;%s;s;%s;3110400;q" -q"

# The following are options for which IBM supplies an instantiation script,
# dhcplpr.cmd, to automatically configure the remote print application
# with a printer and server name. Uncomment them if desired.

#option 9 exec "dhcplpr.cmd 9 %s" # Default LPR Server
#option 200 exec "dhcplpr.cmd 200 %s" # Default LPR Printer

It might be and idea to insert into your setup.cmd something like 'start iptrace' just before dhcpstrt to see what IP communication is taking  


--
Groeten uit Gent,

  Kris

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

To unsubscribe from this list, send a message to
steward@2rosenthals.com with the command
"unsubscribe os2-wireless_users" in the body
(omit the quotes).

For help with other commands, send a message
to steward@2rosenthals.com with the command
"help" in the body (omit the quotes).

This list is hosted by Rosenthal & Rosenthal
P.O. Box 281, Deer Park, NY 11729-0281. Non-
electronic communications related to content
contained in these messages should be directed
to the above address. (CAN-SPAM Act of 2003)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Subscribe: Feed, Digest, Index.
Unsubscribe
Mail to ListMaster