ネットワーク構成
+--------+ +-------------+ HUB +------------+ |rl0 +---+----+ |eth0 |192.168.0.1 |192.168.0.2 |192.168.0.4 vr0 +----+----+ +-----+----+ +-----+-----+ NTT ADSL------+ FreeBSD | | WindowsXP| |LinuxZaurus| +---------+ +----------+ +-----------+ HostName:bsd HostName:mebius HostName:zaurus
192.168.0.1 bsd.there bsd #FreeBSD
192.168.0.2 mebius.there mebius #mebius windowsxp
192.168.0.4 zaurus.there zaurus #linuxzaurus
[global]
unix charset = euc
ldap ssl = no
hosts allow = 192.168.0.,127.
[homes]
comment = user's area
path = /usr/home/%u
read only = No
browseable = No
[share]
comment = share area
path = /usr/local/everyone
read only = No
[global]
# workgroup is either a domain name or a workgroup name
workgroup = NOWHERE
log file = /dev/null
hosts allow = 192.168.0.
#
# encrypt passwords is required for Win98, NT and Windows 2000
#
encrypt passwords = yes
coding system = utf8
client code page = 932
force create mode = 0755
strict sync = yes
sync always = yes
# interface = usb0
interface = usb0 eth0
# wins support = yes
[system]
comment = System Folder
path = /root/samba
read only = no
browseable = no
guest ok = yes
force user = root
[home]
comment = for User Data
path = /home/samba
short preserve case = no
read only = no
guest ok = yes
force user = zaurus
[root]
comment = root dir
path = /
short preserve case = no
read only = no
guest ok = yes
start_fn (){
mount /home/zaurus/everyone
/etc/rc.d/init.d/samba start
return;}
stop_fn () {
umount /home/zaurus/everyone
/etc/rc.d/init.d/samba stop
return;}
日本語を使う設定は、.emacs に、
(set-buffer-file-coding-system 'euc-jp-unix) (set-terminal-coding-system 'euc-japan) (set-language-environment "Japanese") (set-keyboard-coding-system 'euc-jp) ;; Menu ==> Raise menu in tty (global-set-key [f11] 'tmm-menubar) ;; Sensible of pen tapping (xterm-mouse-mode 1)(参考)http://www.kabipan.com/computer/zaurus/index.html#emacs
<?xml version="1.0"?>
<keyhelper>
<modifiers>
<define key="F10" type="User1" toggle="True" mapping="True">
</define>
<define key="Shift" type="Shift" toggle="True"/>
<define key="Control" type="Control" toggle="True"/>
</modifiers>
<mappings>
<define key="F26">
<modifier Shift="On"/>
<map key="Alt"/>
<map_modifier Shift="Off"/>
</define>
<define code="2015">
<map key="Less"/>
<map_modifier Shift="On"/>
<map_unicode char="{"/>
</define>
<define code="2016">
<map key="Greater"/>
<map_modifier Shift="On"/>
<map_unicode char="}"/>
</define>
</mappings>
<repeater>
<repeat delay="300" period="35"/>
</repeater>
<extensions>
<define key="F12" kind="select">
<modifier Shift="On"/>
</define>
<define key="F11" kind="switch">
<modifier Shift="On"/>
</define>
<define key="F13" kind="menu">
</define>
<define key="F10" kind="menu3">
<modifier Shift="On"/>
</define>
<define key="F9" kind="menu2">
</define>
<define key="All" kind="launch">
<modifier User1="On"/>
</define>
</extensions>
</keyhelper>
[Global]
[Launch]
E = UserTab1/UserApp1
Z = UserTab1/UserApp2
K = UserTab1/UserApp3
N = UserTab1/UserApp4
F = UserTab1/UserApp5
2 = UserTab1/UserApp7
R = UserTab1/UserApp8
T = UserTab1/UserApp1 /home/zaurus/Documents/todo.txt
L = __7x009rotate
C = __7x020netmon
Backspace = __9quit
[Menu]
01_Mail(&M) = Applications/qtmail
04_calc(&K) = Applications/calculator
05_FreeNote(&M) = UserTab1/UserApp6
06_Install(&I) = Settings/qinstall
07_HomeSet(&H) = Settings/tabconf
08_KeyHelperXml(&X) = UserTab1/UserApp1 /home/zaurus/Settings/keyhelper.xml SettingsIcon
09_KeyHelperConf(&C) = UserTab1/UserApp1 /home/zaurus/Settings/keyhelper.conf SettingsIcon
10_kh_reload(&R) = @qcop QPE/KeyHelper reload() Restart
[Menu2]
01_mail1(&1) = @text mail1@domain.com
02_mail2(&2) = @text mail2@domain.com
03_mail3(&3) = @text mail3@domain.com
[Menu3]
01_Zeditor(&E) = UserTab1/UserApp1
02_Netfront(&N) = UserTab1/UserApp4
03_Zaif(&Z) = UserTab1/UserApp2
04_Terminal(&K) = UserTab1/UserApp3
05_Filelaunch(&F) = UserTab1/UserApp5
06_q2ch(&2) = UserTab1/UserApp7
07_ShoutCast(&R) = UserTab1/UserApp8
08_TodoMemo(&T) = UserTab1/UserApp1 /home/zaurus/Documents/todo.txt
09_Rotate(&L) = __7x009rotate
20_Netconnext(&C) = __7x020netmon
99_quit(&q) = __9quit
[Style]
Caption_menu = TaskMenu
Caption_menu2 = MailAddress
Caption_menu3 = AppMenu