19 May 2014
ドメイン期限更新
VALUE DOMAIN:バリュードメイン
八王子大気汚染測定ネット.jp ドメイン更新1年予約した
新有効期限 2015年6月30日
八王子大気汚染測定ネット.jp ドメイン更新1年予約した
新有効期限 2015年6月30日
15 April 2014
Raspberry Pi を ルーター化した
有線LAN側
IPアドレスを変更
dhcpサーバー導入
sudo apt-get install isc-dhcp-server
ルーター化
sudo vi /etc/sysctl.conf
net.ipv4.ip_forward=1
iptables の設定
sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
sudo iptables -A FORWARD -i wlan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT
sudo sh -c "iptables-save > /etc/iptables.ipv4.nat"
sudo vi /etc/network/if-pre-up.d/iptables
#!/bin/bash
iptables-restore < /etc/iptables.ipv4.nat
sudo chown root:root /etc/network/if-pre-up.d/iptables
sudo chmod 755 /etc/network/if-pre-up.d/iptables
参考ページ
Raspberry Piでルータを構築 (r271-635)
Raspberry Pi をWi-Fiアクセスポイント&ルーター化する - 猫ぱーんち!
IPアドレスを変更
dhcpサーバー導入
sudo apt-get install isc-dhcp-server
ルーター化
sudo vi /etc/sysctl.conf
net.ipv4.ip_forward=1
iptables の設定
sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
sudo iptables -A FORWARD -i wlan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT
sudo sh -c "iptables-save > /etc/iptables.ipv4.nat"
sudo vi /etc/network/if-pre-up.d/iptables
#!/bin/bash
iptables-restore < /etc/iptables.ipv4.nat
sudo chown root:root /etc/network/if-pre-up.d/iptables
sudo chmod 755 /etc/network/if-pre-up.d/iptables
参考ページ
Raspberry Piでルータを構築 (r271-635)
Raspberry Pi をWi-Fiアクセスポイント&ルーター化する - 猫ぱーんち!
23 January 2014
Raspberry Piにファイルサーバ(Samba)を入れてみた
Raspberry Pi を ファイルサーバーにするため,Sambaをいれた
sudo apt-get install samba でエラーが出たので
以下のコマンドを実行した
sudo apt-get update
sudo apt-get upgrade
参考にしたページ
Raspberry Piをファイルサーバ(Samba)にしてみた | もふもふ部@CAW
sudo apt-get install samba でエラーが出たので
以下のコマンドを実行した
sudo apt-get update
sudo apt-get upgrade
参考にしたページ
Raspberry Piをファイルサーバ(Samba)にしてみた | もふもふ部@CAW
Raspberry Piを無線LAN化
Raspberry Piに無線LANアダプターを追加して,接続できるようにした。
/etc/wpa_supplicant/wpa_supplicant.conf を編集
wpa_passphrase ESSID pass にて,passを暗号化
network={
ssid="ESSID"
psk=45b2678315520a5ffd9717923e524f9f8e4a3dc1cf8c7bd60cfb59f3b8d3ccc7
}
/etc/network/interfaces を編集
iface wlan0 inet static
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
address 192.168.XX.YYY
netmask 255.255.255.0
network 192.168.XX.0
broadcast 192.168.XX.255
gateway 192.168.XX.ZZZ
下記検索結果のページを参考にした
raspbian 無線LAN - 楽天ウェブ検索
/etc/wpa_supplicant/wpa_supplicant.conf を編集
wpa_passphrase ESSID pass にて,passを暗号化
network={
ssid="ESSID"
psk=45b2678315520a5ffd9717923e524f9f8e4a3dc1cf8c7bd60cfb59f3b8d3ccc7
}
/etc/network/interfaces を編集
iface wlan0 inet static
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
address 192.168.XX.YYY
netmask 255.255.255.0
network 192.168.XX.0
broadcast 192.168.XX.255
gateway 192.168.XX.ZZZ
下記検索結果のページを参考にした
raspbian 無線LAN - 楽天ウェブ検索
16 December 2013
自作用RJ-45コネクタ
11 October 2013
NAS(LinkStation) の復旧
ハードディスクのなかった、LinkStation に,中古の120GB ハードディスクをいれて,ファームウェアアップデートを行い動作するようになった。
最初は,Win7とハブ,ルータを使って作業していたけど,TFTPが始まらなく何ともならなかった。
XPパソコンに変えて,ケーブル直結にしたらTFTPで転送されEMモードで起動した。
ファームウェアアップデータも実行できて、何回か再起動したら起動できるようになっていた。

参考ページ
NAS(LinkStation)が壊れた→復旧手順: やと?の不定期ブログ
最初は,Win7とハブ,ルータを使って作業していたけど,TFTPが始まらなく何ともならなかった。
XPパソコンに変えて,ケーブル直結にしたらTFTPで転送されEMモードで起動した。
ファームウェアアップデータも実行できて、何回か再起動したら起動できるようになっていた。

参考ページ
NAS(LinkStation)が壊れた→復旧手順: やと?の不定期ブログ
19 August 2013
安全でないコンテンツがセキュリティに及ぼす影響
Firefoxが23になって、”PicasaWebアルバムのクリエイティブキットで編集” と ”EdyもらえるモールのBINGO”が 表示されなくなった原因は以下のページで起債されているとおり、 混在コンテンツが初期設定でブロックされるようになったからだった。
Firefox 23 サイト互換性情報 | MDN
安全でないコンテンツがセキュリティに及ぼす影響 | Firefox ヘルプ
Firefox 23 サイト互換性情報 | MDN
安全でないコンテンツがセキュリティに及ぼす影響 | Firefox ヘルプ
29 July 2013
Raspberry Pi - 作業記録
bind を入れる
# apt-get install bind9
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bind9utils geoip-database libbind9-80 libdns88 libgeoip1 libisc84 libisccc80 libisccfg82 liblwres80
Suggested packages:
dnsutils bind9-doc resolvconf ufw geoip-bin
The following NEW packages will be installed:
bind9 bind9utils geoip-database libbind9-80 libdns88 libgeoip1 libisc84 libisccc80 libisccfg82 liblwres80
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,126 kB of archives.
After this operation, 8,613 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up geoip-database (20130213-1) ...
Setting up libgeoip1 (1.4.8+dfsg-3) ...
Setting up libisc84 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libdns88 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libisccc80 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libisccfg82 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libbind9-80 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up liblwres80 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up bind9utils (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up bind9 (1:9.8.4.dfsg.P1-6+nmu2) ...
Adding group `bind' (GID 116) ...
Done.
Adding system user `bind' (UID 111) ...
Adding new user `bind' (UID 111) with group `bind' ...
Not creating home directory `/var/cache/bind'.
wrote key file "/etc/bind/rndc.key"
#
[ ok ] Starting domain name service...: bind9.
# apt-get install dnsutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bind9-host
Suggested packages:
rblcheck
The following NEW packages will be installed:
bind9-host dnsutils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 231 kB of archives.
After this operation, 508 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up bind9-host (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up dnsutils (1:9.8.4.dfsg.P1-6+nmu2) ...
#
# apt-get install bind9
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bind9utils geoip-database libbind9-80 libdns88 libgeoip1 libisc84 libisccc80 libisccfg82 liblwres80
Suggested packages:
dnsutils bind9-doc resolvconf ufw geoip-bin
The following NEW packages will be installed:
bind9 bind9utils geoip-database libbind9-80 libdns88 libgeoip1 libisc84 libisccc80 libisccfg82 liblwres80
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,126 kB of archives.
After this operation, 8,613 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up geoip-database (20130213-1) ...
Setting up libgeoip1 (1.4.8+dfsg-3) ...
Setting up libisc84 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libdns88 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libisccc80 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libisccfg82 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up libbind9-80 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up liblwres80 (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up bind9utils (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up bind9 (1:9.8.4.dfsg.P1-6+nmu2) ...
Adding group `bind' (GID 116) ...
Done.
Adding system user `bind' (UID 111) ...
Adding new user `bind' (UID 111) with group `bind' ...
Not creating home directory `/var/cache/bind'.
wrote key file "/etc/bind/rndc.key"
#
[ ok ] Starting domain name service...: bind9.
# apt-get install dnsutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bind9-host
Suggested packages:
rblcheck
The following NEW packages will be installed:
bind9-host dnsutils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 231 kB of archives.
After this operation, 508 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up bind9-host (1:9.8.4.dfsg.P1-6+nmu2) ...
Setting up dnsutils (1:9.8.4.dfsg.P1-6+nmu2) ...
#
14 March 2013
FreeBSD 無線LAN 接続
以下のように /boot/loader.conf と /etc/rc.conf を設定して無線LAN接続出来た。
/boot/loader.conf
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
/etc/rc.conf
wlans_ath0="wlan0"
ifconfig_wlan0="WPA inet 192.168.YY.XXX netmask 255.255.255.0 ssid AirPort15124"
#ifconfig -a の結果
ath0: flags=8843 metric 0 mtu 2290
ether xx:xx:xx:xx:xx:xx
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843 metric 0 mtu 1500
ether xx:xx:xx:xx:xx:xx
inet 192.168.yy.xxx netmask 0xffffff00 broadcast 192.168.yy.255
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid AirPortzzzzz channel 7 (2442 MHz 11g) bssid xx:xx:xx:xx:xx:xx
regdomain 65 country J1 indoor ecm authmode WPA2/802.11i privacy ON
deftxkey UNDEF TKIP 2:128-bit txpower 20 bmiss 7 scanvalid 450 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
wme burst roaming MANUAL
無線LANカード:WN-G54/CB3
参考ページ
Wireless Networking
/boot/loader.conf
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
/etc/rc.conf
wlans_ath0="wlan0"
ifconfig_wlan0="WPA inet 192.168.YY.XXX netmask 255.255.255.0 ssid AirPort15124"
#ifconfig -a の結果
ath0: flags=8843
ether xx:xx:xx:xx:xx:xx
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843
ether xx:xx:xx:xx:xx:xx
inet 192.168.yy.xxx netmask 0xffffff00 broadcast 192.168.yy.255
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid AirPortzzzzz channel 7 (2442 MHz 11g) bssid xx:xx:xx:xx:xx:xx
regdomain 65 country J1 indoor ecm authmode WPA2/802.11i privacy ON
deftxkey UNDEF TKIP 2:128-bit txpower 20 bmiss 7 scanvalid 450 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
wme burst roaming MANUAL
無線LANカード:WN-G54/CB3
参考ページ
Wireless Networking
04 November 2012
ドメイン期限更新
taiki-osen-sokutei.net 更新した
新有効期限 2014年11月16日
新有効期限 2014年11月16日