Results matching “ssh”

netgear WNDR3700小玩记


原厂信号可以达到300M,刷过dd-wrt,open-wrt,无线信号均比较差,并且还有其它问题没搞定,故最后还是使用官方固件。

折腾点:
1)刷DD-WRT,WIFI信号很差,刷回官方固件。
2)刷到Open-WRT,信号一般,且上网的设置有异常,我没法搞定,概念比较蒙,刷回原厂固件。
3)原厂固件折腾samba:使用fiddler修改JS搞定NAT和DMZ到路由器本身(10.0.0.1),上联路由器局域网还是无法通过上联局域网IP(192.168.1.142)进行samba访问,PI安装无线网卡后,在10.0.0.x网段mount smb共享目录成功。
4)5G信号还行。



参考信息:
http://www.dslreports.com/forum/r26428981-Best-alternative-firmware-for-WNDR3700-
所以最好的:还是原厂的

https://forum.openwrt.org/viewtopic.php?id=27722
Fully featured OpenWrt build for the WNDR3700

http://wiki.openwrt.org/toh/netgear/wndr3700

http://www.smallnetbuilder.com/wireless/wireless-reviews/30925-start-your-buying-netgear-wndr3700-reviewed
测评

http://club.netgear.com.cn/nebs/ShowPost.asp?ThreadID=1883

因为netgear最新的中文固件出了问题,无奈之下我的WNDR3700刷了最新的DDWRT,感觉有线连接好像强了,用nas下bt,emule,都好像快了,但是无线方面的设置不知何故总是出问题,无奈之下再利用tftp刷回到官方10468,现在回到正常的使用中。

刷ddwrt其实很简单(不需要做30/30/30这步),从ddwrt刷回官方也一样简单--
http://www.dd-wrt.com/wiki/index.php/Netgear_WNDR3700在这个页面里有刷dd的方法,在页面的最下部,有人问如何刷回官方的,

Q: Is it possible to restore the factory or stock firmware that came with my router? 

A: Yes. Refer to WNDR3700: Restore Factory Firmware in Five Easy Steps. 

这个是刷回官方的页面,与netgear自己介绍的tftp步骤大致一样--http://www.dd-wrt.com/phpBB2/viewtopic.php?t=79802

netgear 与ddwrt之间好像有了默契,估计dd不会有更新的固件了,还是用10468吧,目前最稳定的


http://www.dd-wrt.com/phpBB2/viewtopic.php?t=79802
刷回原厂固件

11n x220 130M
http://forum.51nb.com/thread-1218788-1-1.html


原厂固件中samba服务默认只在内网使用,经过特殊处理:DMZ,端口映射来进行测试:

http://forums.gentoo.org/viewtopic-p-7057508.html


sudo mount --verbose -t cifs -o username=admin   //192.168.1.142/725  /mnt/wndr3700/
sudo mount --verbose -t cifs -o username=admin   //10.0.0.1/USB_Storage  /mnt/wndr3700/


http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=14574
Having loads of trouble mounting a SAMBA share from a DNS-323 on the RPi. Used
CODE: SELECT ALL

sudo mount -t cifs //192.168.1.2 /mnt/box/

http://wangzhongwen.wordpress.com/2008/03/06/samba%E6%9C%8D%E5%8A%A1%E7%9A%84%E7%AB%AF%E5%8F%A3/

samba服务用到的端口是以下四个:
UDP 137
UDP 138
TCP 139
TCP 445

如果允许用户访问共享服务,防火墙需开放这四个端口

结论:失败

DMZ和NAT是直接使用fiddler修改JS文件,用路由器的管理界面进行设置,但WNDR3700上联的局域网机器(PI)还是无法对其进行访问。
不过PI上安装无线网卡后,就可以正常mount WNDR3700上的smb目录了(见下面)。




http://www.dd-wrt.com/phpBB2/viewtopic.php?t=142653#627358

NO, 30/30/30 need it! 

This NETGEAR WNDR3700 Router and maybe all NETGEAR Router have this function called " Reset Flash " or something like that. 

1. You turn off the Router. 

2. Hold reset button in, well turning on the Router. 

3. Countdown to 45 second or wait tell the power light blinks green to release the reset button. 

Next you'll need to change Computer's IP Address to 192.168.1.2 - 192.168.1.254 and SubnetMask 255.255.255.0 only. 


Then you will use a TFTP client: 

 Mac TFTP Client 

 Windows TFTP Client 
In Windows you need to turn TFTP Client on by going to Program & Features, Turn windows features on or off, check TFTP Client and click OK button. 

Linux you have to use Commands 
Info can be found  Here and  Here 

Server: 192.168.1.1 
password: don't need to use one 
file: firmware download here 

DD-WRT Download WNDR3700v1 
 r16454 
 r16785 
 r17201 


http://blog.jqian.net/post/14295026342/netgear-wndr3700

wndr3700刷dd-wrt固件
家里的netgear wndr3700已经平稳工作大半年了,但是最近突然很想把它刷到dd-wrt。主要是stock firmware虽然稳定,但是功能还是弱不少,实在不符合它高端无线路由器的定位。最近很想路由器有这俩功能,还是GFW惹的祸......

定时重启路由器,或者重新连接PPPoE,因为家里是使用ADSL,定时重启路由器可以重新获取新的IP。
安装openvpn,由于dd-wrt就是一个嵌入式linux,很容易配置。
在网络上搜了一遍,发觉刷dd-wrt还是很简单的,直接按照wiki来就可以了。不幸的是,虽然我明确按照步骤,但是第2步就出问题了。当页面的刷机进度到达100%之后,等待了2分钟----结果wireless灯没有闪烁,反而是power灯变黄了----继续过了10秒后,所有的LAN灯变黄闪烁,然后,WPS灯变绿闪烁,如此反复。

继续尝试了hard reset(就是持续按住RESET键,通电30秒,断电30秒,再通电30秒),依然没有什么反应。

设置电脑eth0为192.168.1.x,尝试ping路由器默认地址192.168.1.1,发觉会返回 ...ttl=64(truncated);但有时候会直接失败,此时发觉eth0地址又空了。所以,初步判断,路由器其实在不停的重启。

目前还不太清楚,为什么这么简单的刷机步骤会导致失败,猜测原因可能有两点:

由于我的路由器设置了自动更新固件,可能最新的stock firmware更新后,已经不能从web页面刷dd-wrt固件了。
在网上某处看到需要用IE浏览器刷固件,而我用的是linux系统和chrome浏览器,不过我觉得这不至于吧。
不过很凑巧,当天就有人给出了解答,才知道原来netgear路由器有个"Reset Flash"功能,可以让路由器进入recovery mode,此时就可以用tftp来刷机了(包括刷原厂固件)。

进入recovery mode的步骤是这样的:

关闭路由器
按住Reset键,打开路由器
直到power灯开始闪绿色,松开reset键(大约45秒)
现在就能开始刷机了,把电脑连上某个LAN口,设置eth0地址到192.168.1.2~192.168.1.254,比如:

sudo ifconfig eth0 192.168.1.2
此时,发觉已经可以ping通 192.168.1.1 了,运行tftp导入你要刷的固件:

$ tftp 192.168.1.1
tftp> binary
tftp> rexmt 1
tftp> timeout 60
tftp> put wndr3700-factory.img
Sent 7229569 bytes in 5.0 seconds
看到发送成功的消息后,等待片刻后,路由器开始重启----成功!

没有再需要hard reset,已经可以成功访问192.168.1.1看到dd-wrt的管理页面。

http://blog.sina.com.cn/s/blog_592060b501015654.html
Netgear WNDR3700刷DD-WRT--Samba乱码问题 (2012-07-28 11:23:08)转载▼
标签: 杂谈
Netgear WNDR3700刷DD-WRT真是太简单了。
1、下载(这里是WNDR3700 v2版),直接去DD-WRT的Router Database,输入3700,找到合适的文件下载。
    wndr3700v2-factory.img 是国际版;
    wndr3700v2-factory_NA.img 是北美版;我还真没搞清北美版和国际版有啥区别,反正我刷的是国际版。
2、直接利用Netgear的"路由器升级"选项就可以刷成DD-WRT了。(见下图)

3、由于WNDR3700的固件有16M之多,DD-WRT也就不像过去针对2M、4M固件的路由器做出不同的版本,这里就一次把所有功能全部搞定。简单截几个图,看看吧
    VPN功能:

    USB挂载功能:

    FTP以及Samba(网上邻居)功能

    下面简单说说,如何解决Samba乱码的问题:
    DD-WRT的Samba乱码的原因其实很简单:就是/tmp/smb.conf中的unix charset设置不对,只要改成utf-8即可。再用
    #smbd restart
    重启samba服务即可。
    但是由于每一次插拔USB,DD-WRT都会重新生成/tmp/smb.conf文件配置文件,因此每次都需要手动修改一下,比较麻烦。
    另一个办法,就是把smb.conf文件直接粘贴到启用Use Custom Configuration后的文本框中,如下图。
    我懒的写smb.conf配置文件,因此先把Use Custom Configuration禁用,这样系统会自动为你生成一个/tmp/smb.conf文件。用telnet或在ssh登录到路由器上,打开此文件,并且把内容复制下来,粘贴到启用Use Custom Configuration后的文本框中,再修改一下unix charset=utf-8即可。


http://www.raspberrypi.org/phpBB3/viewtopic.php?f=45&t=18575

by Olaf_Ramge ? Sat Sep 29, 2012 9:39 am
Hi,
iwconfig works only with wep encryption.
If you use WPA/WPA2 then iwconfig will not work.

My /etc/network/interfaces looks just like this:
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "secret-wiki-net"
wpa-psk "verysecret-wpa-psk"

I can shut wlan0 up/down with:
ifup wlan0
ifdown wlan0

I can look with:
root@raspberrypi:/etc/default# iwconfig 
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"secret-wifi-net" 
Mode:Managed Frequency:2.472 GHz Access Point: 74:EA:3A:FD:07:6F 
Bit Rate=52 Mb/s Tx-Power=20 dBm 
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=35/70 Signal level=-75 dBm 
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:9 Missed beacon:0

And get a dynamic ip with:
dhclient wlan0


http://www.raspberrypi-tutorials.co.uk/set-raspberry-pi-wireless-network/

Learn how to set up a wireless network using your Raspberry Pi and learn how to manage and use the various networking options that are available.

NOTE:  ** These instructions can now be bypassed by using the following wireless instructions on this page.**

Plug in your wireless device into your Raspberry Pi or a USB hub.  I prefer to plug my devices into a USB hub to save the Raspberry Pi from wear and tear.

Before we can use the wireless device, we must first find out the name of our device so we can find the necessary drivers.  Enter the following command:

$ lsusb

This will list all the usb devices attached to our Raspberry Pi.  You will be looking for something that resembles your wireless device.  Search through the list of USB devices for a wireless adapter.

The result may differ depending on the devices you have attached.

Bus 001 Device 005: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g Network adapter.

The key information listed above has been bolded.  This ID is what we will be searching for when looking for the drivers needed to use the adapter.

Before we continue, you will need to update your package information.  Be sure that you're network cable is plugged in as we need to get some udpates from Debian.   Just enter:

$ apt-get update

When the updates have finished downloading, enter:

$ apt-cache search RTL818

Remember your device may be different, so you will be entering your device ID for your device.  You may have noticed that I only entered RTL818 instead of the whole ID.  This is because it didn't find the adapter when using the apt-cache command.  You may need to shorten your description.

The result returned for my device was:

Firmware-realtek - Binary firmware for Realtek wired and wireless network adapters

Enter

$ sudo apt-get install firmware-realtek

After a few minutes of updating you will be back at your $ prompt.  Enter the following command to see if your adapter is listed.

$ lsmod

You will see the same ID of your device listed.

Module                                Size        Used by

rtl8187                  44897    0

You can ignore the above details.  All we need to know is that the ID of your device is mentioned when you typed lsmod.

Now we just need to create a configuration file for the wireless adapter.  We are going to do this by create a file.  Enter the following command:

$ sudo nano /etc/wpa.config

Now enter the following, save the file and exit back to the $ prompt

network={

ssid="YOUR_SSID"

proto=RSN

key_mgmt=WPA-PSK

pairwise=CCMP TKIP

group=CCMP TKIP

psk="WPA-PASSWORD"

}

The last part of this configuration is to add a reference to the interfaces.   Issue the command:

$ sudo nano /etc/network/interfaces

Add the following

auto wlan0

iface wlan0 inet dhcp

wpa-conf /etc/wpa.config

Save this file and exit.

The final stage of this process is to unplug your network cable as we want to test that the wireless device is actually working, so restart the network by entering:

$ sudo /etc/init.d/networking restart

 

--- footnote

Thanks to L.R for correcting the typo.  You have been awarded 10 bonus points.

Thanks also to Paul for spotting the wpa.config typo


--EOF--

goagent小试

因为一直都使用ssh来进行必要时的访问,所以最近几年都没怎么折腾翻墙的事情。今天在同学的群里听说goagent还不错,恰好下午很早回家,也就折腾了一下,感觉非常好!

参考信息:
https://code.google.com/p/goagent/ 这里的内容多看看基本够了。
在笔记本上也都装了,后续确实可以很方便的直接使用了,而且速度也非常不错。

接下来就是还想让手机也能用上,参考:
https://code.google.com/p/goagent/wiki/GoAgent_IOS,可惜没一次搞定,再找:
http://ifan.178.com/thread-1387056-1-1.html
http://www.i7086.com/goagentwufafangwendejiejue/comment-page-2
多看看,要点:
1)Cydia开发者模式
2)安装Python,goagent-toggle(sbsettings开关), goagent-local
3)安装证书,使用Safari安装,iFile怎么安装我没学会
4)如果访问异常,注意修改proxy.ini中的cn->hk https等信息
5)pac文件注意:打开设置- WiFi(国行叫无线局域网)-点击您热点右侧的箭头-拖到最下方"http代理" 选择自动然后输入"
file://localhost/var/mobile/goagent-local/8087.pac"或"file://localhost/var/stash/Applications/MobileSafari.app/8087.pac"(需要将8087.pac从var/mobile/goagent-local/ 移到Applications/MobileSafari.app/ 下 )(利用pac翻比全局好),用后面的这个路径。


--EOF--

物尽其用:让iPhone通过ssh上网

1.安装openssh,mobile terminal
2.笔记本也可以ssh上去root/mobile 默认密码都是alpine,记得passwd修改哦
3.其它信息,折腾暂未成功,参考的资料信息:

http://qiong.info/archives/6130
iphone使用ssh来匿名代理上网


http://todaym.com/2010/05/iphone-over-the-wall-via-ssh-pac.html
http://todaym.com/2010/05/iphone-ipod-touch-mac-ssh-connection-automatic-login.html

http://wangheng.org/configure-gcc-on-ipad2.html
为ipad2安装和配置gcc编译环境


另外,今天发现的便宜的VPS:
http://www.123systems.net/index.html

--EOF--

新入树莓派 raspberry pi

B版,512M,Made In China,300RMB

恰好手头有之前入的16G东芝SD Class10黑卡,可惜读写速度和白卡差别太大,用在PI上不会觉得浪费。

300块的东西,玩玩不错了。到手后第一天在家里才发现居然没USB键盘,于是第二天带到公司才搞定系统,然后回家再远程管理。

远程图形操作管理,参考:http://www.douban.com/group/topic/31460736/

工具:putty 和 Xming 
功能:实现图形界面的远程访问 

前期准备:安装SSH server并启动。这个功能Raspbian系统自带,就不用说了。 

操作步骤: 
1. 下载并安装Xming, 地址http://sourceforge.net/projects/xming/ 
2. 下载并安装putty,地址http://www.putty.org/ 
3. 启动Xming,默认设置就可以,如果喜欢折腾自己看Manual 
4. 启动putty,并登陆Pi,很重要的一条:在Connection项里选择SSH -> X11,勾选Enable X11 forwarding. 
5. 在putty命令行下输入:startlxde,稍等就会出现R-pi的界面,好了,兴奋吧!!


视频播放,参考:http://www.leiphone.com/raspberry-pi-hands-on.html
视频播放
标准Raspbian版本中支持树莓派的GPU的播放器好像只有omxplayer,是个命令行程序,没有界面的,也不能拖动。它有很多参数,最常用的是-o,选项有local和hdmi,表示声音输出到audio out还是hdmi,omxplayer后面跟着要播放的文件名称,不支持wmv,不支持外置字幕。打开终端窗口,出现提示符后输入:

omxplayer -o hdmi 文件名

也可以先用cd命令,将当前路径改变到文件所在的目录,文件名就不需要绝对路径了。其实大家会觉得命令行输入非常麻烦,但只要用Tab键进行命令补齐,用ls列出当前目录的文件,再配合鼠标选择文字,然后按中键(就是按下滚轮)进行连动的复制粘贴,即使没有资源管理器也会发现目录操作可以很快速的。

由于一般媒体文件都是放置在外置的硬盘中,所以这时需要将硬盘接入到USB口上,系统默认会在/media目录下创建和硬盘卷标一样的目录,并将USB硬盘挂接上去,之后就可以访问了。

测试的结果大部分用X.264编码的1080p视频都可以正常流畅播放。唯一一部无法播放的是:[魔术师和兔子].Pixar.Short.Presto.1080p.BluRay.x264.mkv。

--EOF--

SSH帐号恢复,备份升级完成

1.FastDomain的工作人员的效率还是非常高,提交Ticket之后几分钟就收到了QQ Mail中的回信。
2.备份,升级过程非常顺利,实际只是升级MT的Professional Pack。
3.简单修改了一下模板,将评论部分去掉了。
4.针对类目的模版页,本来想修改一下,将默认的最近10个Post扩大一下,但发现这个和首页好像也是使用同一个变量,还是算了。

--EOF--

FastDomain shell帐号被无故关闭

好久没ssh进去了,今天准备做数据备份和做MT5.04 升级却发现无法登录,相关信息如下:

Your shell account is NOT enabled.

Please FAX the following message to +1 (801) 765-1992:

=====================================================
From: xxx@xxx.com
Subject: ENABLE SHELL xxx@guduo.net

+-------------------------+
|                         |
|                         |
|   BLOW UP OF PHOTO ID   |
|                         |
|                         |
+-------------------------+


Or, submit a ticket to our helpdesk at:
http://helpdesk.fastdomain.com/

Or scan and send your PHOTO ID as an email attachment.

现在都感觉有些担心了?为啥需要我提供这个信息?

不过比较奇怪的一点是,plink居然还是可以正常访问做ssh tunnel的。

--EOF--

因为dd-wrt自带的ssh(dropbear提供)功能不完整,因此想安装openssh-client,前提是支持Jffs或者USB等。

我的WRT54GS v1.1 有8M的ROM,之前刷的是标准版,jffs功能是不支持的,因此需要重新刷ROM。

下载的ROM是dd-wrt.v24-13064_VINT_openvpn_jffs_small.bin,使用之前的升级办法通过ssh上去操作,总是失败,无法正确升级,后来一怒之下通过web来刷,成功了~

刷好后就是安装相关pkg了:

ipkg install openssh-client

root@DD-WRT:/jffs/tmp/ipkg# ipkg install openssh-client

Downloading http://downloads.openwrt.org/whiterussian/packages/libopenssl_0.9.8d-1_mipsel.ipk ...
Connecting to downloads.openwrt.org (78.24.191.177:80)
Done.
Unpacking libopenssl...Done.
Configuring libopenssl...Done.

Downloading http://downloads.openwrt.org/whiterussian/packages/zlib_1.2.2-2_mipsel.ipk ...
Connecting to downloads.openwrt.org (78.24.191.177:80)
Done.
Unpacking zlib...Done.
Configuring zlib...Done.

Downloading http://downloads.openwrt.org/whiterussian/packages/openssh-client_4.4p1-1_mipsel.ipk ...
Connecting to downloads.openwrt.org (78.24.191.177:80)
Done.
ipkg_install_file: ERROR: openssh-client depends on the following uninstalled programs:
         libopenssl zlib
ipkg_install_file: You may want to use `ipkg install' to install these.
ipkg_get_install: ERROR: Failed to install /jffs/tmp/ipkg/openssh-client_4.4p1-1_mipsel.ipk
ipkg_get_install: I'll leave it there for you to try a manual installatio

虽然自动安装了相关依赖,但后面确实失败,手工下载后然后再安装:
ipkg -force-depends install openssh-client_4.4p1-1_mipsel.ipk

注意参数 -force-depends 的位置,安装成功。

/jffs/usr/bin/ssh -NfT -D 192.168.1.1:1080 root@192.168.1.1   --    通过本地的ssh服务做代理 
/jffs/usr/bin/ssh -NfT -D 192.168.1.1:1080 xxxx@remotehost    --   通过远程服务器做代理

其实我想的是直接由路由器提供socks代理,不止是给局域网内的其它机器。


第一种实际就是想把路由器作为一个socks服务器,不需要client再通过putty等程序进行设置。
第二种当然也是做代理,而且是透明的使用远程的服务器做ssh代理。

不过实际测试的时候,虽然设置了端口转发,但从WAN口来的请求总是无法连接,这个会是啥原因?有些奇怪。





--EOF--

没用上无限卡之前,都是通过家里的路由器提供的ssh访问做代理来玩的,自动上了无限卡,好久没在公司使用家里路由器的ssh服务了。由于公司也有网络限制,因此之前家里路由器开放的端口是80,今天在家无聊想试试无限卡的访问情况,居然发现80端口无法连上,其它几个端口8080 8000 443 23等都还是正常的,无语了。

现在路由器DD-WRT的一些配置:
ssh管理启用:默认端口是22
开放远程ssh访问,端口设置为22(之前是80);
禁止telent协议访问;
置部分端口转发:8000/443/8080/80 -> 22
开放http远程访问,端口80;

效果:
80端口还是访问的http服务,非ssh服务。


--EOF--

http://www.qtusers.com/content/view/5/59/
http://boards.quotetracker.com/qt-board/ubbthreads.php?ubb=cfrm

HotKeys:

Chart Control (When focused on a chart as opposed to Main Port Window)

F1..................................Context Sensitive Help

(the # key definitions are for time based charts)
1.....................................10 min Period
2.....................................30 min Period
3.....................................1 hour Period
4.....................................2 hours Period
5.....................................All Data
6.....................................Current Day
7.....................................Last 2 days
8.....................................Last 3 Days
0.....................................Set custom chart period
=.....................................Jump to custom chart period

(the CTRL+# key definitions are for time based charts)
CTRL-1.............................1 min Frequency
CTRL-2.............................3 min Frequency
CTRL-3.............................5 min Frequency
CTRL-4.............................10 min Frequency
CTRL-5.............................15 min Frequency
CTRL-0.............................Set custom chart frequency
CTRL-=.............................Jump to "custom" chart frequency

arrow left...........................Scroll along x-axis right
arrow right..........................Scroll along x-axis left

+......................................Decrease chart period
-......................................Increase chart period
scrollwheel...........................Scroll chart
CTRL-scrollwheel..................Increase/decrease chart period
Page Up.............................Scroll one visible chart period back
Page Down..........................Scroll one visible chart period forward.
Home.................................Scroll to earliest data point visible
End...................................Scroll to latest data point visible

CTRL.................................Momentary toggle crosshair show/hide
Alt....................................Momentary toggle default/freestyle Cross-hair

Left Click & Drag...........Draw trendline
Shift+Left Click & Drag...........Draw trendline locked horiz/vert
Alt+Left Click & Drag..............Draw arrow

CTRL-Right Click & Drag..........Enable "zoom" box

DoubleClick Upper Chart..........Maximize Chart/Restore Chart
DoubleClick Lower Chart..........Call Technical Indicators panel
RightClick Upper Chart Y-Axis...Call Vertical Scale Control
SHIFT + LeftClick & Drag on Y-axis....Turns on Absolute Vertical Scale Control
CTRL + LeftClick & Drag on Y-axis....Turns on Sliding Vertical Scale Control

Shift + Ctrl + H >> Delete the highest data point in view (of a chart)
Shift + Ctrl + L >> Delete the lowest data point in view (of a chart)



QuoteTracker用IB

Indices 用TD Ameritrade做数据源,但用IB做BackFill时,在AMTD中^DJI,而IB中的symbol则是$INDU,但这样还不够,如果backfill的时候,指数需要写完整的:NYSE:$INDU,碰到"backfill chart for ^DJI as"填 NYSE:$INDU 

https://www.quotetracker.com/help/ib.shtml

For STOCKS the format is ROUTE:SYMBOL. If the ROUTE: portion is omitted, QuoteTracker will default the route to SMART. For example, both AOL and SMART:AOL are legitimate symbols and represent the same security.

For OPTIONS you should use the standard option symbol prefixed with a period. You would need to get the actual symbol from IB web site or TWS. for US Option symbol formats, please refer to IB's Option Symbology Initiative page. For Example:
BOX:.ESI   100220C00110000

NOTE: that the root symbol must be 6 characters, so you must pad it with appropriate number of spaces

For FUTURES you should use the futures symbol as shown on Contract Description/SYMBOL column in TWS, prefixed with the exchange and an at sign (@). For example, GLOBEX:@ESH0. Some exchanges use a fixed length SSSS MMM YY symbol format (ECBOT and DTB for example). Example:
DTB:@FDAX MAR 10

For YM underlying symbol, you would need to add spaces to fill in the SSSS section of the symbol since YM is just 2 characters:
ECBOT:@YM   MAR 10
(with 3 spaces after YM and 1 space after MAR)

For FUTURE OPTIONS you should use the symbol as shown on the end of the DESCRIPTION column in TWS, prefixed with the exchange and an carot character(^). For example, GLOBEX:^ESH0 C1080

For WARRANTS you should use the symbol as shown on the end of the DESCRIPTION column in TWS, prefixed with the exchange and an exclamation point character(!). For example, FWB:!DB25LU

For CASH you should use the symbol as shown on the end of the DESCRIPTION column in TWS, prefixed with the exchange and an pound sign(#). For example, IDEALPRO:#EUR.USD

For INDICES prefix the symbol with the exchange and a dollar sign ($). For example, PHLX:$SOX

You can specify order routing for options, futures and indices, same as for stocks.

On the trading panel, you can either enter just the symbol without any prefix, then specify the routing and security type, or you can enter the above formatted symbols and QuoteTracker will convert them for you.

COMMON SYMBOL EXAMPLES:

Stocks   Options
  Indices
  Currencies
DELL   .SPY   100220P00110000   NASDAQ:$NDX   IDEALPRO:#EUR.USD
ISLAND:DELL   BOX:.ESI   100220C00110000   NYSE:$INDU   IDEALPRO:#GBP.USD
IBM   AMEX:.T     100320C00027000   PHLX:$SOX   IDEAL:#USD.GBP
INTC   SMART:.DLQ   100821P00022500   DTB:$DAX    
IBIS:DELL       NASDAQ:$TICK-NASD    
IBIS:DELL       NYSE:$TRIN-NYSE    

Futures  
GLOBEX:@ESH0
GLOBEX:@NQH0
NYMEX:@QMH0
NYMEX:@CLH0
HKFE:@HSIH0
MONEP:@FCEH0
DTB:@FDAX MAR 10 Must have 1 space before and after MAR
ECBOT:@YM   MAR 10 Must have 3 spaces after YM and 1 space after MAR
NYSELIFFE:@ZG   MAR 10 Must have 3 spaces after ZG and 1 space after MAR
NYBOT:@TFH0
LIFFE:@LH0
NQLX:@MSFT1NH0
GLOBEX:^ESH0 C1080
ONE:@MSFT1CH0

--EOF--

工作环境整理

过完年回来,昨天突然发现有些东西居然2个星期就忘记了,现在也顺便随便记录一下:
1.台式机目前主要处理outlook和rtx相关的东西,而且使用windows的远程终端一直访问台式机进行工作。
2.笔记本上使用了PC的ssh功能进行代理上网,LAN网卡是只开放了少数几个端口的,基本上所有的网络程序都是通过PC代理上网的。
3.在会议室的时候,通过securecrt登录dev环境可以知道PC的IP,然后远程登录PC进行工作;由于LAN网卡的端口限制,笔记本在会议室也是无法直接上网的。
4.今天我在测试Outlook发现也可以通过代理上网了,后续可以考虑直接使用笔记本处理工作了。
5.3G网卡只对少数几个应用程序开放使用:Fterm等。

 

--EOF--

1 2 3 4 5  

Pages

October 2026

Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Find recent content on the main index or look in the archives to find all content.