Page 8 of 15 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 146
  1. #71
    Untangler geniehost's Avatar
    Join Date
    Jun 2008
    Posts
    72

    Default

    Hi all,

    My wireless network stop working, I am not sure if the card goes bad or some things wrong with my configuration!

    where I need to start checking this issue?


  2. #72
    Untangle Ninja Silver Bullet's Avatar
    Join Date
    Sep 2007
    Posts
    1,946

    Default

    does the wireless interface show up when you run "ifconfig" or "iwconfig"?

    If it does, is hostapd running? ps -A | grep hostapd

  3. #73
    Untangler geniehost's Avatar
    Join Date
    Jun 2008
    Posts
    72

    Question

    Yes, I can see the wireless interface when I run "ifconfig" or "iwconfig"!

    but when I run : "ps -A | grep hostapd" it's return nothing, so I restart the hostapd by running the "/etc/init.d/hostapd restart" and the result as following:
    Stopping advanced IEEE 802.11 management: hostapd.
    Starting advanced IEEE 802.11 management: hostapd.

    then I run "ps -A | grep hostapd" again and it's return nothing!
    I do reboot also and still the wireless not working!

  4. #74
    Untangle Ninja Silver Bullet's Avatar
    Join Date
    Sep 2007
    Posts
    1,946

    Default

    Can you post the output of the following

    Code:
    ifconfig
    Code:
    cat /etc/network/interfaces
    Code:
    cat /etc/hostapd/hostapd.conf
    Code:
    cat /etc/default/hostapd

  5. #75
    Untangler geniehost's Avatar
    Join Date
    Jun 2008
    Posts
    72

    Smile

    here is "ifconfig":
    Code:
                                                          
    ath0      Link encap:Ethernet  HWaddr 00:02:6F:4F:89:A3  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:593 errors:0 dropped:0 overruns:0 frame:0
              TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:54835 (53.5 KiB)  TX bytes:7326 (7.1 KiB)
    
    br.eth0   Link encap:Ethernet  HWaddr 00:07:E9:E4:66:79  
              inet addr:10.196.191.2  Bcast:10.196.191.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1462  Metric:1
              RX packets:332171 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1521234 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:62995522 (60.0 MiB)  TX bytes:256837814 (244.9 MiB)
    
    br.eth1   Link encap:Ethernet  HWaddr 00:02:6F:4F:89:A3  
              inet addr:10.196.192.200  Bcast:10.196.192.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1469999 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1561736 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:250166231 (238.5 MiB)  TX bytes:727873042 (694.1 MiB)
    
    dummy0    Link encap:Ethernet  HWaddr 16:D6:BC:13:7B:68  
              inet addr:192.0.2.42  Bcast:192.0.2.255  Mask:255.255.255.0
              UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    
    eth0      Link encap:Ethernet  HWaddr 00:07:E9:E4:66:79  
              UP BROADCAST RUNNING MULTICAST  MTU:1462  Metric:1
              RX packets:1406342 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1491187 errors:0 dropped:0 overruns:0 carrier:0
              collisions:5961 txqueuelen:1000 
              RX bytes:701921272 (669.4 MiB)  TX bytes:253681217 (241.9 MiB)
    
    eth1      Link encap:Ethernet  HWaddr 00:A0:CC:D4:B6:0B  
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1480291 errors:1 dropped:0 overruns:0 frame:0
              TX packets:1561750 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:276988758 (264.1 MiB)  TX bytes:727874662 (694.1 MiB)
              Interrupt:21 Base address:0xd800 
    
    eth2      Link encap:Ethernet  HWaddr 00:A0:CC:D4:B1:A9  
              UP BROADCAST RUNNING MULTICAST  MTU:1462  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:201 dropped:0 overruns:0 carrier:402
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
              Interrupt:19 Base address:0xd400 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:1637803 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1637803 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:341209199 (325.4 MiB)  TX bytes:341209199 (325.4 MiB)
    
    utun      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
              inet addr:192.0.2.43  P-t-P:192.0.2.43  Mask:255.255.255.0
              UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
              RX packets:14206 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:500 
              RX bytes:733816 (716.6 KiB)  TX bytes:0 (0.0 b)
    
    wifi0     Link encap:UNSPEC  HWaddr 00-02-6F-4F-89-A3-00-00-00-00-00-00-00-00-00-00  
              inet addr:1.2.3.4  Bcast:1.2.3.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:232372 errors:0 dropped:14949 overruns:0 frame:39663
              TX packets:530656 errors:99 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:199 
              RX bytes:27106067 (25.8 MiB)  TX bytes:24412252 (23.2 MiB)
              Interrupt:16
    here is "cat /etc/network/interfaces":
    Code:
    ## Mon Aug 04 22:52:11 +0300 2008
    ## Auto Generated by the Untangle Net Alpaca
    ## If you modify this file manually, your changes
    ## may be overriden
    
    auto cleanup
    iface cleanup inet manual
    
    ## Configuration for the loopback interface
    auto lo
    iface lo inet loopback
    
    
    auto br.eth0
    iface br.eth0 inet dhcp
    	alpaca_bridge_ports eth2 eth0
    	bridge_ageing 900
    	alpaca_bridge_mtu 1462
    
    
    
    auto br.eth1
    iface br.eth1 inet manual
    	alpaca_bridge_ports ath0 eth1
    	bridge_ageing 900
    	alpaca_bridge_mtu 1500
    	address 10.196.192.200
    	netmask 255.255.255.0
    
    
    auto wifi0
    iface wifi0 inet static
    	address 1.2.3.4
    	netmask 255.255.255.0
    	mtu 1500
    
    ## This will run any scripts that need to execute when the address changes.
    auto update
    iface update inet manual
    here is "cat /etc/hostapd/hostapd.conf":
    Code:
    interface=ath0
    bridge=br.eth1
    driver=madwifi
    logger_syslog=-1
    logger_syslog_level=2
    logger_stdout=-1
    logger_stdout_level=2
    debug=0
    dump_file=/tmp/hostapd.dump
    ctrl_interface=/var/run/hostapd
    ctrl_interface_group=0
    ssid=wireless01
    auth_algs=3
    eapol_key_index_workaround=0
    eap_server=0
    wpa=3
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP CCMP
    wpa_passphrase=MyPassword
    and here is "cat /etc/default/hostapd":
    Code:
    # Defaults for hostapd initscript
    
    # Uncomment the following line to run hostapd on startup
    # WARNING! Depending on your configuration,
    #          you may lose access via your wireless interface.
    #
    RUN_DAEMON="yes"
    
    # Uncomment the following line, and provide the absolute
    # path to one or more configuration files to be used by the
    # hostapd daemon. If left commented, the daemon will use 
    # /etc/hostapd/hostapd.conf
    #
    DAEMON_CONF="/etc/hostapd/hostapd.conf"
    
    # Additional daemon options
    # 	-d   show more debug messages (-dd for even more)
    # 	-K   include key data in debug messages
    # 	-t   include timestamps in some debug messages
    #
    #DAEMON_OPTS="-dd"
    Thank you!

  6. #76
    Untangle Ninja Silver Bullet's Avatar
    Join Date
    Sep 2007
    Posts
    1,946

    Default

    post these too
    Code:
    iwconfig
    Code:
    tail -n 100 /var/log/syslog | grep hostapd

  7. #77
    Untangle Ninja Silver Bullet's Avatar
    Join Date
    Sep 2007
    Posts
    1,946

    Default

    I think I see the problem. Your /etc/network/interfaces is missing the config info for ath0 and for some reason has config info in there for wifi0. Change your /etc/network/interfaces to look like this and then just reboot
    Code:
    ## Mon Aug 04 22:52:11 +0300 2008
    ## Auto Generated by the Untangle Net Alpaca
    ## If you modify this file manually, your changes
    ## may be overriden
    
    auto cleanup
    iface cleanup inet manual
    
    ## Configuration for the loopback interface
    auto lo
    iface lo inet loopback
    
    
    auto br.eth0
    iface br.eth0 inet dhcp
    	alpaca_bridge_ports eth2 eth0
    	bridge_ageing 900
    	alpaca_bridge_mtu 1462
    
    
    
    auto ath0
    iface ath0 inet manual
            pre-up wlanconfig ath0 destroy
            pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap
            post-down wlanconfig ath0 destroy
    	pre-up iwconfig ath0 channel 11
    	wireless-mode master
    
    
    auto br.eth1
    iface br.eth1 inet manual
    	alpaca_bridge_ports ath0 eth1
    	bridge_ageing 900
    	alpaca_bridge_mtu 1500
    	address 10.196.192.200
    	netmask 255.255.255.0
    
    ## This will run any scripts that need to execute when the address changes.
    auto update
    iface update inet manual

  8. #78
    Untangler geniehost's Avatar
    Join Date
    Jun 2008
    Posts
    72

    Default

    Thanks Silver Bullet,
    I don't know how this changes happened!

    any way, my wireless network working again

  9. #79
    Untanglit
    Join Date
    Oct 2007
    Posts
    20

    Default file editing

    can someone tell me how to edit /etc/network/interfaces
    I just about have this complete but when I try to open the interfaces file. I get access denied. I tried it logged in to putty with admin and also root.
    I think I must be going about it wrong.
    I tried in putty and also in xterm
    Thanks for the help
    CaT

  10. #80
    Untangle Ninja Silver Bullet's Avatar
    Join Date
    Sep 2007
    Posts
    1,946

    Default

    You can use vi. If you're not comfortable with that then you can install WinSCP and just navigate to it and open it open like a text file.

Page 8 of 15 FirstFirst ... 678910 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2