Skip to main content

Posts

Changing ICS Sharing IP in Windows XP

ICS (Internet Connection Sharing) in Windows XP is quite useful in few occasions. Like if you have a laptop connected to a wired connection and you want to share your connection to other wireless devices, then it can be handy. Note that Windows XP works quite well as Wireless AP in adhoc mode. There are cases where your wired connection IP range will be in 192.168.0.x, in this case ICS and adhoc sharing will not work, not at least without some tweaks. To put this in perspective, here is my network. [Cable Provider (network1)]--[Home Network (network2)]--[XP Machine with ICS (network3)] My high speed internet connection from my cable company provides dynamic ip in the range 66.90.106/22, let me call this network1. My second network (network2), is my home network. This is a wireless AP with wired capability. I was too lazy when I setup this network and used the default. So its network is 192.168.0/24. Well, this is the same network that ICS is using. For my network3, of cours

Resolve Netbios name in Ubuntu

Edit /etc/nsswitch.conf and modify the line that shows something about hosts: hosts: files wins mdns4_minimal [NOTFOUND=return] dns mdns4 Install winbind: sudo aptitude install winbind For system with more than one network and with WINS server up and running, edit /etc/samba/smb.conf, like: wins server = [ip_of_wins_server_here] name resolve order = lmhosts host wins bcast wins proxy = yes ~ts

Linux telnet option negotiation - passive

Telnet client that comes with Debian Lenny (Linux Netkit 0.17) or Cygwin 1.7 telnet 1.7 (GNU inetutils) actively initiates option negotiation with the server. This is fine for most cases but there are old servers that just stops sending data when it does not like the option that the client tried to negotiate. To passively participate in option negotiation, telnet can run with the following argument to force it not to send any further negotiation: telnet <hostname> <port> Note here that we specified the port number. By doing so, we are basically telling telnet that negotiation is done and so wait for any packet from the server. And for old telnet server, the following .telnetrc maybe needed: DEFAULT set echo mode character set crlf ~ts