JailBreak iOS7.0.4 evasi0n 7の不具合について

 SIM Free版のiPhone4をevasi0n 7で脱獄しDocomoのSIMでアクティベートしたらモバイルデーター通信ネットワークの設定タブは出てきたが、APNの設定が保存されない。ソフトバンクのSIMを入れ再度脱獄したあとのDocomoのSIMいれたらモバイルデーター通信ネットワークの設定タブが出てこない。Mobile SubstrateのiOS7x対応版がCydia Substrateとして公開されたのを知り、SBSettingをインストール後TetherMeをインストールしたらモバイルデーター通信ネットワークの設定タブがでるようになった。空白の設定は保存されないのでモバイルネットワークの設定にはすべてxを入れMMSの設定だけプリモバの設定をおこなったら設定が保存された。SBSettingの動作が一部おかしいが当面このままで行く予定。

カテゴリー: 未分類

ubuntu12.04にAirVideo Serverを簡単に導入する(今だけ)

 久しぶりにubuntu12.04をパソコンに導入した。ついでにAirVideo Serverを導入しようと思い以前試した簡単導入方を試してみた。2013/12/30現在簡単にインストールできた。

注意 メニューのAirvideoServerを使うとうまくいかない。またubuntu13.10ではインストール出来なかったので注意     

手順は

2.Add the AirVideo PPA repository
    sudo add-apt-repository ppa:rubiojr/airvideo
3.Update package index
    sudo apt-get update
4.Install AirVideo Server
    sudo apt-get install airvideo-server

5.Tweak the 'folders' property editing /opt/airvideo-server/AirVideoServerLinux.propertiesを環境に合わせ修正する。

重要

/opt/airvideo-serverにtrayを言うファイルを作成しパーミッションを0755とする。ファイルの内容は以下の通り、ショートカットを作成し(/opt/airvideo-serve/tray)実行するとトレイアイコンが表示されるのでマウスの右クリックでStart serverをクリックするとAirVideo Serverが動く。

#!/usr/bin/env ruby
require 'Qt4'

class Tray < Qt::SystemTrayIcon
    
    slots :startStopAction, :quit

    def initialize(parent = nil)
        super(parent)
        @serverThread = nil
    
        @serverRunning = false
        @startStopAction = Qt::Action.new(tr("&Start Server"), self)
        connect(@startStopAction, SIGNAL(:triggered), self, SLOT(:startStopAction))
    
        @quitAction = Qt::Action.new(tr("&Quit"), self)
        connect(@quitAction, SIGNAL(:triggered), self, SLOT(:quit))
        @trayIconMenu = Qt::Menu.new(nil) do |t|
            t.addAction(@startStopAction)
            t.addSeparator()
            t.addAction(@quitAction)
        end
        self.contextMenu = @trayIconMenu
        self.icon = Qt::Icon.new("#{File.dirname(__FILE__)}/airvideo-tray-off.png")
        self.toolTip = 'AirVideo Server'
    end

    def quit
      if @serverThread
        Process.kill(9, @serverThread)
      end
      $qApp.quit
    end

    def startStopAction
      if @serverRunning
        @startStopAction.text = 'Start Server'
        @serverRunning = false
        if @serverThread
          Process.kill(9, @serverThread)
        end
        self.icon = Qt::Icon.new("#{File.dirname(__FILE__)}/airvideo-tray-off.png")
      else
        @startStopAction.text = 'Stop Server'
        @serverRunning = true
        cmd = 'java -jar /opt/airvideo-server/AirVideoServerLinux.jar /opt/airvideo-server/AirVideoServerLinux.properties'
        @serverThread = fork { exec cmd }
        self.icon = Qt::Icon.new("#{File.dirname(__FILE__)}/airvideo-tray.png")
      end
    end
    
    def createTrayIcon()
    end
end

app = Qt::Application.new(ARGV)

if !Qt::SystemTrayIcon.isSystemTrayAvailable
    Qt::MessageBox.critical(nil, Qt::Object.tr("Systray"),
                              Qt::Object.tr("I couldn't detect any system tray " \
                                          "on this system."))
    exit 1
end

tray = Tray.new
tray.show
app.exec

 

 

カテゴリー: 未分類

ubuntu13.10にSoftEther VPN サーバーを設定する。

導入にあたりSigTerm、WinSCP、SoftEther VPN Server,Clientをインストール済みのWindowsパソコンを用意します。

1.SoftEther VPNプロジェクトよりWindowsでLinux版のSoftEther VPN Serverをダウンロードし解凍しておきます。
解凍するとvpnserver,vpnclientが作成されます。

2.解凍されたフォルダーをWinSCPを使って /usr/localにコピーします。フォルダー以下のパーミッションをWinSCPで設定しなおします。

3.SigTermでLinuxにroot権限で接続します。
※まずユーザーで接続後、su又はsudo suでroot権限に変更します。

4.vpnserverのインストール。
cd /usr/local/vpnserverとしてvpnserer内に入ります。
makeを実行するとセットアップが始まります。3つの確認項目をチェックするとインストールは完了します。

5.vpnserverの環境設定
SigTerm上で ./vpnserver start と入力しリターンキーを押し、SoftEther VPNサーバーを起動します。
Windowsの"SoftEther VPN サーバー管理"を開きます。
SoftEther VPNサーバー管理マネージャーで、新しい接続を選び接続先 VPN Sereverの指定のホスト名にLinuxのIPアドレスを入れOKクリック
作成した接続名を選んで接続をするとパスワード設定画面がでてくるので必ずパスワードを設定してください。
Windows版と同様にSoftEther VPN Serverの設定が行えます。

iPhoneでVPN接続するにはL2TPを使って接続します。シークレットにはIPsecで設定したワードが入ります。

softetheriphone

 

カテゴリー: 未分類