1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Howto Upgrade your Kernel (unofficial)
(1 viewing) 1 Guest
Go to bottomPage: 1...13141516171819...25
TOPIC: Howto Upgrade your Kernel (unofficial)
*
#25692
Re:Howto Upgrade your Kernel (unofficial) 2 Years, 2 Months ago  
Hi, it work i have updated at 2.6.32! Server work
I have another clearOS , in a small office production 6 Pc desktop and 3 Laptop. In Gateway mode to connect Wi-Fi i have two Network card, TP-Link WN951N or Linksys WP300N ver 1, with Atheros AR5008. In this post; www.thinkwiki.org/wiki/How_to_checkout_a...al_driver_for_ar5008 (Mad WIFI)
Now, support : madwifi-project.org/wiki/Compatibility/Atheros, is ath9k or athk5: madwifi-project.org/wiki/Compatibility/Atheros
In clearOS , Webconfig, Network, IP Setting, Wlan0, this: Type / Vendor / Model Atheros Communications Inc. AR5008 Wireless Network Adapter PCI, and i have installed ClearOS Testing Repository and i have installede hostapd to creaye ac Access Point 300N.
I have problem:


GNU nano 1.3.12 File: /etc/hostapd.conf

#
# This will give you a minimal, insecure wireless network.
#
# DO NOT BE SATISFIED WITH THAT!!!
#
# For more information, look here:
#
# wireless.kernel.org/en/users/Documentation/hostapd
#

ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel

# Some usable default settings...
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0

# Uncomment these for base WPA & WPA2 support with a pre-shared key
#wpa=3
#wpa_key_mgmt=WPA-PSK
#wpa_pairwise=TKIP
#rsn_pairwise=CCMP

# DO NOT FORGET TO SET A WPA PASSPHRASE!!
#wpa_passphrase=YourPassPhrase

# Most modern wireless drivers in the kernel need driver=nl80211
driver=nl80211

# Customize these for your local configuration...
interface=
hw_mode=
channel=
ssid=

I ask you, for share folder from Hot-Lan to Lan it is possible through t Port Forwarding? Or,it's better for this a ClearOS Gateway Bridge wlan0 to eth1 Lan?
Server is in a Small Production Office and if upgrade kernel it's dangerous. ClearOS is installed in a Raid Mirror and i have a WD-Usb HardDisk in NTFS. for backup through t BackupPc.
Since i'm not sure. What is solution?
Now i reboot my server to test upgrade kernel.
Thank you for your work!
Duccio Mangiavacchi
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/03/18 16:15 By edumax64.
The administrator has disabled public write access.
 
#25731
Re:Howto Upgrade your Kernel (unofficial) 2 Years, 2 Months ago  
Hi, Tim.
This is a possible solution?: people.redhat.com/linville/kernels/rhel5/

lspci -v

01:07.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
Subsystem: Linksys Unknown device 0061
Flags: bus master, 66MHz, medium devsel, latency 168, IRQ 11
Memory at febe0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] #80 [0000]


Thank you!
Duccio Mangiavacchi
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#25760
Re:Howto Upgrade your Kernel (unofficial) 2 Years, 2 Months ago  
Hi Duccio, thanks for the feedback! and glad it's working for you.

I'm not sure I quite understand your problem....you can create port forward rules to open up specific ports on a Hot-LAN. I believe you will need the advanced firewall module for this.

The linville kernels are good too, and work well. They don't have a couple of the ClearOS routing patches but are good for wireless support. Why do you need to try it? The lspci entry is a bit of a red herring as it only reads PCI info from a file pci.ids...you can manually update this if you want but it does not mean you have support for it.
pciids.sourceforge.net/v2.2/pci.ids

You may need to compile an updated version of the madwifi driver to get it to work - although the madwifi website states that they don't support AR5008? Can you post the output of 'lspci -n'?
Tim Burgess
Moderator
Posts: 5800
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#25782
Re:Howto Upgrade your Kernel (unofficial) 2 Years, 2 Months ago  
Hi Tim, thank you for interesting.

lspci -n

Last login: Sun Mar 20 10:50:48 on console
Mac-Pro-di-Ducciodrun64:~ ducciodrum64$ ssh root@192.168.0.1
root@192.168.0.1's password:
Permission denied, please try again.
root@192.168.0.1's password:
Last login: Sat Mar 19 17:35:41 2011 from 192.168.0.7
[root@system ~]# lspci -n
00:00.0 0600: 10de:07c1 (rev a2)
00:00.1 0500: 10de:07cb (rev a2)
00:01.0 0500: 10de:07cd (rev a1)
00:01.1 0500: 10de:07ce (rev a1)
00:01.2 0500: 10de:07cf (rev a1)
00:01.3 0500: 10de:07d0 (rev a1)
00:01.4 0500: 10de:07d1 (rev a1)
00:01.5 0500: 10de:07d2 (rev a1)
00:01.6 0500: 10de:07d3 (rev a1)
00:02.0 0500: 10de:07d6 (rev a1)
00:03.0 0601: 10de:07d7 (rev a2)
00:03.1 0c05: 10de:07d8 (rev a1)
00:03.2 0500: 10de:07d9 (rev a1)
00:03.3 0b40: 10de:07da (rev a2)
00:03.4 0500: 10de:07c8 (rev a1)
00:04.0 0c03: 10de:07fe (rev a1)
00:04.1 0c03: 10de:056a (rev a1)
00:08.0 0101: 10de:056c (rev a1)
00:09.0 0403: 10de:07fc (rev a1)
00:0a.0 0604: 10de:056d (rev a1)
00:0b.0 0604: 10de:056e (rev a1)
00:0c.0 0604: 10de:056f (rev a1)
00:0d.0 0604: 10de:056f (rev a1)
00:0e.0 0101: 10de:07f0 (rev a2)
00:0f.0 0200: 10de:07dc (rev a2)
00:10.0 0300: 10de:07e1 (rev a2)
01:06.0 0200: 10ec:8139 (rev 10)
01:07.0 0280: 168c:0023 (rev 01)
[root@system ~]#
I'm not a very expert of Linux, and i haven't compile any module of Kernel, but i'm very interested to do this!
What can i do? Thank you!
Duccio Mangiavacchi
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/03/20 17:30 By edumax64.
The administrator has disabled public write access.
 
#25783
Re:Howto Upgrade your Kernel (unofficial) 2 Years, 2 Months ago  
Ok so your wireless card is identified with the following chipset 01:07.0 0280: 168c:0023 (rev 01) which means that your card should be supported by the ath9k driver available in kernel-2.6.32.26-175
Code:

[devel@server testing]$ modinfo ath9k
filename:       /lib/modules/2.6.32.26-175.timb1.i686/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
srcversion:     75A72EAB170328982B43221
alias:          pci:v0000168Cd0000002Esv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Csv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000023sv*sd*bc*sc*i*     <<<<<<<<<<<<<
depends:        mac80211,ath,cfg80211
vermagic:       2.6.32.26-175.timb1.i686 SMP mod_unload 686
parm:           nohwcrypt:Disable hardware encryption (int)


So what's the problem? I'm still not sure what you are asking?
Check it's loaded by posting
Code:

cat /etc/modprobe.conf


And then also check the output of
Code:

lsmod | grep ath9k


Note you will have to configure it manually (Not via the webconfig) this is true of all wireless cards...refer to other wireless threads in the forum as it's not related to the kernel.
Tim Burgess
Moderator
Posts: 5800
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#25784
Re:Howto Upgrade your Kernel (unofficial) 2 Years, 2 Months ago  
Ok ,excuse me for confusion Kernel is ok, but hostapd no. Thank you,i ask in trhead wifi.


root@system ~]# cat /etc/modprobe.conf
alias eth0 8139too
alias eth1 forcedeth
alias scsi_hostadapter ahci
alias scsi_hostadapter1 usb-storage
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
alias wlan0 ath9k
[root@system ~]# lsmod | grep ath9k
ath9k 247943 0
mac80211 146345 1 ath9k
ath 6853 1 ath9k
cfg80211 99821 3 ath9k,mac80211,ath
[root@system ~]# modinfo ath9k
filename: /lib/modules/2.6.32.26-175.timb1.i686.PAE/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: 75A72EAB170328982B43221
alias: pci:v0000168Cd0000002Esv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends: mac80211,ath,cfg80211
vermagic: 2.6.32.26-175.timb1.i686.PAE SMP mod_unload 686
parm: nohwcrypt:Disable hardware encryption (int)
[root@system ~]# nano /etc/hostapd.conf

GNU nano 1.3.12 File: /etc/hostapd.conf

#
# This will give you a minimal, insecure wireless network.
#
# DO NOT BE SATISFIED WITH THAT!!!
#
# For more information, look here:
#
# wireless.kernel.org/en/users/Documentation/hostapd
#

ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel

# Some usable default settings...
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0

[ Lette 35 righe ]
^G Guida ^O Salva ^R Inserisci ^Y Pag Prec. ^K Taglia ^C Posizione
^X Esci ^J Giustifica ^W Cerca ^V Pag Succ. ^U Incolla ^T Ortografia
Duccio Mangiavacchi
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#25792
Re:Howto Upgrade your Kernel (unofficial) 2 Years, 2 Months ago  
Ok so your module is loaded correctly and using the ath9k driver, so you have to complete your configuration in /etc/hostapd.conf as per the thread
www.clearfoundation.com/component/option.../func,view/id,21824/

As a minimum change the following lines:-
Code:

wpa_passphrase=YourPassPhrase

# Customize these for your local configuration...
interface=wlan0
hw_mode=g
channel=1
ssid=AR5008-AP


Then run 'service hostapd restart'. Please check for clues in /var/log/messages
Tim Burgess
Moderator
Posts: 5800
graph
User Offline Click here to see the profile of this user
Last Edit: 2011/03/23 05:42 By timb80.
The administrator has disabled public write access.
 
#25860
Re:Howto Upgrade your Kernel (unofficial) 2 Years, 1 Month ago  
Yeah, works fine! Thank you Tim, great work, very cool.

[root@system ~]# service hostapd restart
Interruzione di hostapd: [ OK ]
Starting hostapd: /etc/hostapd.confUsing interface wlan0 with hwaddr 00:18:39:17:df:b5 and ssid 'AR5008-AP'


[root@system ~]# nano /etc/hostapd.conf
[root@system ~]# nano /etc/hostapd.conf

GNU nano 1.3.12 File: /etc/hostapd.conf

wpa=3
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

# DO NOT FORGET TO SET A WPA PASSPHRASE!!
wpa_passphrase=mypassphrase

# Most modern wireless drivers in the kernel need driver=nl80211
driver=nl80211

# Customize these for your local configuration...
interface=wlan0
hw_mode=g
channel=1
ssid=AR5008-AP



[root@system ~]# iwconfig
lo no wireless extensions.

eth1 no wireless extensions.

eth0 no wireless extensions.

Warning: Driver for device wlan0 has been compiled with version 22
of Wireless Extension, while this program supports up to version 20.
Some things may be broken...

wlan0 IEEE 802.11bgn Mode:Master Frequency:2.412 GHz Tx-Power=20 dBm
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off

imq0 no wireless extensions.

imq1 no wireless extensions.

mon.wlan0 IEEE 802.11bgn Mode:Monitor Frequency:2.412 GHz Tx-Power=20 dBm
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off


That's ok, but i need "n" for share video hd. If i configure hostapd.conf with hw-mode=n i got this:
or automatic b,g,n?

[root@system ~]# service hostapd restart
Interruzione di hostapd: [FALLITO]
Starting hostapd: /etc/hostapd.confLine 32: unknown hw_mode 'n'
1 errors found in configuration file '/etc/hostapd.conf'

and i ask you if, for share file from Hot-Lan to Lan.. Is better and simplicity i change Hot-Lan to Lan and bridge wlan0 to my lan eth1, with one network adresses 192.168.0.0/254,
I don't know for share files from Hot-Lan to Lan.
Thank you for your great work, and sorry for my english language!
Duccio Mangiavacchi
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2011/03/22 18:46 By edumax64.
The administrator has disabled public write access.
 
#25871
Re:Howto Upgrade your Kernel (unofficial) 2 Years, 1 Month ago  
You can try and get 802.11'n' mode to work by following these instructions
linuxwireless.org/en/users/Documentation/hostapd
acx100.erley.org/stable.html#add_ath9k

Make sure you keep 'hw_mode=g', and then to add 'n' mode you add the following lines:-
Code:

ieee80211n=1
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]


Then run 'service hostapd restart'
Tim Burgess
Moderator
Posts: 5800
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#25878
Re:Howto Upgrade your Kernel (unofficial) 2 Years, 1 Month ago  
Ok, i add this line to hostapd.conf, but now my laptop would use wep 40/128.(Hex o ASCII)


[root@system ~]# nano /etc/hostapd.conf

GNU nano 1.3.12 File: /etc/hostapd.conf Modificato

wpa=3
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

# DO NOT FORGET TO SET A WPA PASSPHRASE!!
wpa_passphrase=teatropoverojetverb

# Most modern wireless drivers in the kernel need driver=nl80211
driver=nl80211

# Customize these for your local configuration...
interface=wlan0
hw_mode=g
ieee80211n=1
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]
channel=1
ssid=AR5008-AP
Thank you!
Duccio Mangiavacchi
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1...13141516171819...25
  get the latest posts directly to your desktop