OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Project nwam
:
picea
>
NWAM Phase 0.5 Troubleshooting
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
NWAM Phase 0.5 Troubleshooting
Hide Line numbers
1: == Troubleshooting Network Problems 2: 3: 1. Is NWAM enabled? 4: To determine if NWAM is running, double-click on the Network Monitor applet. If you don’t have that in your panel (it normally shows the two-computer icon if connected to a wired network or the radio wave icon if on wireless), then right-click and add it to the panel. The status screen will indicate if automatic mode is enabled via a checkbox. 5: To check from the command line, run: 6: 7: {{{ 8: % svcs physical 9: }}} 10: 11: If NWAM is running, you should see: 12: 13: {{{ 14: STATE STIME FMRI 15: disabled 15:18:18 svc:/network/physical:default 16: online 16:44:23 svc:/network/physical:nwam 17: }}} 18: 19: If you see this instead: 20: 21: {{{ 22: STATE STIME FMRI 23: online 15:18:18 svc:/network/physical:default 24: disabled 16:44:23 svc:/network/physical:nwam 25: }}} 26: 27: then NWAM is not enabled, and doing the following will reenable it: 28: 29: {{{ 30: # svcadm disable network/physical:default 31: # svcadm enable network/physical:nwam 32: }}} 33: 34: On the OpenSolaris distribution, preface those two svcadm commands with "pfexec". 35: 1. Driver problems? 36: To determine if drivers have attached successfully for your network devices, run: 37: 38: {{{ 39: % ifconfig -a 40: }}} 41: 42: If you see only 43: 44: {{{ 45: lo0: flags=2001000849 mtu 8232 index 1 46: inet 127.0.0.1 netmask ff000000 47: lo0: flags=2002000849 mtu 8252 index 1 48: inet6 ::1/128 49: }}} 50: 51: Then try this command to list the network hardware known to the system: 52: 53: {{{ 54: # dladm show-link 55: }}} 56: 57: If these commands fail to list network interfaces, or if the "ifconfig" output shows only the loopback interfaces, then you likely need drivers or need to update /etc/driver_aliases for the devices you have. [[The laptop community>>Community Group laptop.WebHome]] is a great resource for troubleshooting these sorts of issues. 58: 1. Wireless problems 59: First, ensure that your wireless device is present: 60: 61: {{{ 62: # dladm show-link 63: }}} 64: 65: Now to determine if the wireless device can see any WLANs, run 66: 67: {{{ 68: # dladm scan-wifi 69: }}} 70: 71: If the scan is picking up WLANs, we know wireless is working, so there may be an NWAM-specific problem. 72: Note: for systems running the OpenSolaris distribution, each of those dladm commands should be prefixed with "pfexec". 73: 1. Wireless/WEP/DHCP problems 74: Because of the way authentication works with WEP, there is no definitive indication of keying problems: if an incorrect key is given, the connection to the AP will succeed, but packets will not move. 75: If you are connected to a WEP-protected network, the NWAM Manager applet will wait a few seconds after the connection attempt is started, and then prompt for a new key if DHCP has not yet succeeded. This is only a heuristic; there is no way for the system to determine whether a new key is actually needed. Supplying a new key at this point will delete the old key and retry; this may resolve the problem. 76: From the perspective of the nwam daemon, the connect operation succeeds, and then DHCP is started, but never acquires a lease. Since the DHCP protocol does not have a time limit, the DHCP client will continue to try to connect; in this case, there is no protocol-defined way to distinguish between an authentication failure and a missing/slow DHCP server. 77: 1. Wired/wireless preferences 78: By default, NWAM prefers, and will first try to configure, plugged in wired interfaces. If this fails, it will fall back to wireless. In cases where drivers do not support notifications of plugging/unplugging, NWAM may erroneously assume the wired devices are plugged in, and may take a minute to notice apparent failure. (This time is tunable using svccfg to adjust "nwamd/dhcp_wait_time.") 79: If a more-preferred interface becomes available (e.g., if you plug in a wired network connection), NWAM will switch to that interface and shut down the previous one. 80: If you wish to change the preference order of network devices, right click on the NWAM Manager icon, and select "Network Interface Priority..." to adjust the priority of the interfaces. These changes are saved in a file, and will be retained across reboot. 81: Alternatively, you can select one of the "Always use ..." entries from the NWAM Manager menu. This is a temporary selection, and is not retained across reboot. It can be used to work around interfaces that transition when not wanted. 82: 1. Static addressing and advanced configuration 83: The /etc/nwam/llp file contains entries that look like this: 84: 85: {{{ 86: wired_if0 dhcp 87: .. 88: wireless_if0 dhcp 89: }}} 90: 91: Changing the order of the entries causes the priority to change; just move the wireless_if0 entry/entries above the wired. If you wish to assign a static address, replace "dhcp" with "static", followed by the static address and an optional prefix length, e.g. "static 192.168.1.4/24". See nwamd(1M) for more information on static configuration of NWAM. 92: 1. None of the above 93: If NWAM appears to be finding all your interfaces and attempting to bring the up, but you still don’t have the expected network connectivity, it’s often useful to know how far NWAM got in its attempt to bring things up. Some helpful things to check are: 94: 1* The output of ’{{code}}ifconfig -a{{/code}}’: which interface(s) is/are marked RUNNING? Is DHCPRUNNING set on any of the interfaces? Is an IP address assigned to any of the interfaces? 95: 1* For a wireless link, the output of ’{{code}}dladm show-wifi{{/code}}’: is the link connected to a WLAN? 96: 1* The output of ’{{code}}netstat -rn{{/code}}’: do you have a default route? 97: 1* Are name services set up properly? The typical dhcp-based configuration will include a file called /etc/resolv.conf, which configures DNS for network name resolution; does that file exist, with data entered in it? You also need the correct entries in /etc/nsswitch.conf; does that file list "dns" for both the "hosts:" and "ipnodes:" entries? (A typical entry reads "hosts: files dns") 98: Enabling debugging in NWAM can also help diagnosis. First, /etc/syslog.conf needs to be modified to ensure syslogging captures daemon debug messages. Add a line such as this (note that the syslog.conf fields must be TAB-separated, so if you copy and paste the text from this page, you’ll probably need to manually insert a tab before the filename): 99: 100: {{{ 101: daemon.debug /var/tmp/nwam.log 102: }}} 103: 104: followed by 105: 106: {{{ 107: # touch /var/tmp/nwam.log 108: # pkill -HUP syslogd 109: }}} 110: 111: This tells syslog to dump daemon messages in /var/tmp/nwam.log. Now, enable debugging in NWAM: 112: 113: {{{ 114: # svccfg -s nwam setprop nwamd/debug = true 115: # svcadm refresh nwam 116: }}} 117: 118: To dump the current internal state of the daemon to the log file established above, send it SIGINT: 119: 120: {{{ 121: # pkill -INT nwamd 122: }}} 123: 124: If you need to restart in order to reproduce the problem, it may help to run: 125: 126: {{{ 127: # svcadm restart nwam 128: }}} 129: 130: When contacting [[nwam-discuss>>mailto:nwam-discuss@opensolaris.org]] about problems, the debug log will be helpful in diagnosing the issue. You should also include the version of the NWAM Manager applet. You can obtain this with: 131: 132: {{{ 133: % /usr/lib/nwam-manager ~--version 134: }}}
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Project nwam Pages
Foundation
Story Boards
Requirements
Architecture
Design
Phase 0
Interface Configuration Policy
Prototype
Phase 0.5
Phase 1 Early Access
Phase 1 Repository
Phase 1 Spec
TOC
Draft Man Pages
Glossary
Phase 1 GUI Design
GUI Spec
GUI Spec
User Tasks for NWAM Configuration
User Tasks for NWAM Status Notification
GUI Research & Futures
UI Spec - Phase 2
UI Sketches/Prototypes
State of the Art
Terminology Study: Location vs. Environment
User Scenarios
Service Discovery
Applications
mdnsd(1M)
nsswitch.dns