Index Thing

Index

The Hippo Techo Blog



banner

117 Posts. Displaying page 3 of 12.
Previous Next

Go to page:


Hide All


Wireless/Networking
 
Dec 04, 2005
 
27


Netgear DG834G Wireless ADSL/Router/Gateway

Close ...
F/W 2.10.22

Required standard UK setting of -

RFC2364 PPPoA, VPI=0, VCI=38 & VC multiplexing for the DSL interface.

Typical uptime figures for DG834G -
WAN PPPoA 464:01:52
LAN 100M 464:03:28
WLAN 54M 464:03:19


WAN PPPoA 67:04:23 note: ISP had an outage on the ADSL connection
LAN 100M 625:07:56
WLAN 54M 625:07:47

WAN PPPoA 313:58:40
LAN 100M 872:02:13
WLAN 54M 872:02:04

WAN PPPoA 615:10:17
LAN 100M 1173:13:50
WLAN 54M 1173:13:41

WAN PPPoA 349:11:47 note: ISP had an outage on the ADSL connection
LAN 100M 2047:57:34
WLAN 54M 2047:57:25



It seems that many routers do not appear to be stable on the wireless LAN side.

My experience of the WAG54G confirmed this - I kept getting unavailability on the wireless connection intermittently. The DG834G appears to fairly stable in this regard bearing in mind that it has the latest firmware available. The earlier loads of firmware did not appear so stable on the wireless LAN. The WAG54G has also been upgraded with the latest firmware load but I'm not sure that the wireless problem is fixed.


Interestingly Linksys do have some higher strength aerials available but I couldn't try these since the WAG doesn't have a replaceable aerial but they do apparently fit on the Netgear !!!!!

My experience so far of wireless - it is great for mobility but if I could be bothered I would have the desktop hardwired via 100Base-T ethernet and get full speed. The wireless side of the routers is very variable depending on the type of unit, software, etc.


Configuration can be done via web interface (default http:// is 192.168.1.2).

Using iBook - Firefox for Mac OK

Using PC both IE & Mozilla/Firefox are fine (see below: use IE for firmware upgrading)

Troubleshooting the wireless network can be a bit of a hassle but a couple of tools that help are -

Air Snare: Detects MAC addresses on the network

NetStumbler: Detects signal strength /details of wireless nodes in range


The following captures from NetStumbler (using Intel PRO/Wireless 2200BG) give an indication of the quality of signal from various routers -

Linksys WAG54G (ch 6)

WAG54G signal graph

Netgear DG834G (ch 3)

DG834G signal graph

Belkin (ch 11)

Belkin signal graph

BT Voyager (Askey Computer MAC code) (ch 11)

BT Voyager signal graph

The results using NetStumbler so far indicate -

DG834G Good, reasonably solid signal with a bit of fuzz
WAG54G Average, signal very spikey a lots of dropouts

The last two devices happen to be in the house next door which accounts for the lower signal level.

Belkin OK, reasonably solid signal and not too spikey
BT Voyager Excellent, solid signal with no spiking at all





Web - X/HTML/PHP/JS/CSS
 
Dec 04, 2005
 
26


CSS: padding-bottom 0px gives 5px offset

Close ...
Problem:

The padding-bottom 0px value is ignored if the doctype is set for XHTML 1.0

leaving an approximate 5px offset. If the doctype is disabled the problem is corrected, however this is not a good fix.

I tend to use the border-collapse setting especially when bunching images in tables, however with Firefox I still got the issue and I don't want to disable the doctype.

Result:

Two possibilities will work -

display: block; set against the img

vertical-align: bottom; set against the img

I would prefer to use the former along with the border-collapse against the table

A broken example - HERE

This is how the hover renders after the CSS is tweaked - HERE





Software - Apps
 
Dec 04, 2005
 
25


Thunderbird POP3 receive mail issue with Ipswitch servers

Close ...
Problem: Thunderbird gets error when logging into V21mail.co.uk POP3 server, works OK into BT Yahoo mail server

Error: Sending of password did not succeed. Mail server mail.v21net.co.uk responded:

Press OK and then get -
Please enter a new password for user aperson@v21net.co.uk on mail.v21net.co.uk:

entered password and got -

Sending of password did not succeed. Mail server mail.v21net.co.uk responded:USER

Logs: Following

Background: This problem occurred with TB on a Thinkpad running XP SP2 and only when a new ISP account was being used.
TB on a desktop P4 running XP SP1 worked OK to the new ISP. Mozilla Mail 1.7.5 worked fine on the Thinkpad.


Details:

Thinkpad R51 XP SP2
ISP v21.co.uk Mail server - Ipswitch IMail 8.00
TB 1.0 (20041206) No security selected for POP or SMTP




Troubleshoot: TB uninstalled from TP, all related folders deleted (profiles,etc) then reinstalled fresh - still NBG

Note - NBG is No Bloody Good

Tried Ethereal network analyzer and tracked the POP messages. Logs below.

It seems that TB requests a CAPA (capability list). The BT servers don't understand this and TB then uses the standard USER/PW in clear text. The V21 server however supplies a capability list and TB sends a mixture of USER/PW in clear text and an encrypted form (I don't understand this as I thought AUTH PLAIN would be in clear text also).
Unfortunately when the encrypted Request is being sent the USER/PW form is fired out when the encrypted password would be expected and therefore the authorisation breaks. Mozilla 1.7.5 doesn't appear to use the CAPA feature.

V21 Capability List

+OK Capability list followsrn
TOPrn
USERrn
SASL LOGIN PLAINrn
RESP-CODESrn
LOGIN-DELAY 120rn
PIPELININGrn
EXPIRE 30 USERrn
UIDLrn
IMPLEMENTATION Ipswitch_IMail_8.0rn
.rn

BT -ERR TB then sends USER/PW in clear
V21 +OK TB then sends AUTH PLAIN which fails. PW box pops up and sent encrypted?

Breakthrough: After much trawling and struggling to understand commands that relate more to SMTP than POP I discovered a Mozilla Bugzilla reference which is exactly the problem I had.

Bugzilla 259840

Summary: error retrieving POP3 mail from Ipswitch IMail servers when using some security products
[Symantec, Norton, Computer Associates, CA, eTrust, antivirus]

It so happened that the Thinkpad had Norton AntiVirus 2004 installed.
Disabling NAV was proving too much of a mission so it was uninstalled and SUCCESS!! - TB worked fine.
Resolution/workround:
Create or use user.js file with following line -

// Hack to work round bug with FF/Ipswitch Mail Server/AV mail combo - avoids disabling AV mail screening
user_pref("mail.server.server3.auth_login", false);

eg:Documents and Settings/<user>/Application Data/Thunderbird/Profiles/68hrtcvs.default/user.js



Outstanding questions:

Q. Why does TB appear to send encrypted USER/PW when no secure is selected - does the CAPA influence this? I expected AUTH PLAIN to still use clear text.

Answer: I would like to know more on this - most refs to AUTH PLAIN are for SMTP not POP interaction.

Q. Why are the error windows giving truncated results?

Answer: Probably a low priority bug maybe?

Q. Ethereal didn't work on the Thinkpad and it looks like this can be the case with Intel 2200BG wireless cards - it worked with the Intel 100baseT NIC.

Answer: It seems the Intel wireless drivers knobble the promiscuous feature and somewhere in the bowels of Intel may be a patch ??????

Why the hell does NAV have to be so embedded that it can't just be disabled ( I disabled the NAVAPSVC and some moronic process re-enabled it for me and set it to Manual - the damn computers are owning us...)

The troubleshoot logs in text form are HERE





Software - Apps
 
Dec 04, 2005
 
24


Thunderbird RSS doesn't receive all items

Close ...
It seems that if the content of the links field in a RSS item is identical to another item then only the first item will be downloaded.

Unfortunately TB does not appear to use the GUID field which should provide a unique ID for each item. This is an identified bug (BugZilla 260745 & 264482) and is still apparent in TB 1.5.0.5

Crude workround:

If the content is on the same page then use bookmarks to give a unique links field.

Personally I feel this bug makes TB useless for RSS because if you cannot be certain that 100% of a feed is being received then what good is it!

Alternatively use an RSS utility that works correctly. I found RSSOwl to be excellent but does not give the HTML page review as TB does.

An example of the problem is available HERE

::::::::::::::::::: Update :::::::::::::::::

RSS 2.0 seems a bit of a crock - I find that most readers do not use the GUID field to determine uniqueness of an item and therefore whether it is a duplicate item or should be downloaded as a new item. Indeed, some editors I have tried don't bother creating a unique GUID for each item.

The LINK field tends to be the decider and in many cases with an RSS feed the link would normally be unique (as in different news articles, etc) but if it is used to target a part of a web page (even bookmarked like #bookmark4) where the content may alter then it is no good. More than one item using #bookmark4 will cause items not to be downloaded by readers.

As I have found if the LINK points to a location where I have altered the content then the link itself must be unique to allow the item to be accepted as a new item by most readers.

eg: siteurl/webpage.html#23

where the hash designates a bookmark and the 23 is just the item's number within the RSS file. This is enough to land the link on the required page and give uniqueness to the items. For good measure I use a unique GUID for each item just in case it ever gets used!

This method works fine with Thunderbird and RSS Owl.
::::::::::::::::::: Update :::::::::::::::::

Bug report (BugZilla 260745) appears to be fixed (tested TB 3.1.16)
Test file now at -
www.wanderinghippo.org.uk/rss/test.xml





Wireless/Networking
 
Aug 24, 2005
 
23


Using Intel PRO/Wireless 2200BG card with Ethereal and Air Snare utilities

Close ...
Setup:

IBM Thinkpad R51 with Intel PRO/Wireless 2200BG card
XP with SP2
ZoneAlarm 5.5.062.004

2200BG driver - Intel v 9.0.2.25
Ethereal v 0.10.12 (network sniffer/analyzer tool)
WinPcap 3.1 beta 4 (low level device driver for network applications)
Airsnare (a wireless intrusion/monitoring utility)

Initially tried the latest Intel driver since the IBM drivers always lag behind quite a few months and the Intel driver works in the Thinkpad just fine - I use the Intel client to control the wireless rather than the Microsoft or IBM Access one.

However I still could not get Ethereal or AirSnare to collect packets via the wireless card. It seems that the consensus is that the 2200BG card will not support promiscuous mode and Ethereal/WinPcap/Intel/Microsoft all point the finger at each other.

A workround is however possible that will allow AirSnare to work and Ethereal to collect packets in non-promiscuous mode

This site here held the key to an answer -

http://www.micro-logix.com/WinPcap/CardReport.asp?ID=29

The DIVX video gives a quick run down on creating a network bridge that will allow the apps to work however with SP2 installed the procedure is slightly different to that outlined in the video.


1) Open Network Connections
2) Select both the Wireless connection and another (I chose the 1394 Firewire since I don't normally use it) and then right-click and Create Bridge (this will take a few moments)
3) When the bridge is created go into properties and allocate an IP (if using DHCP this will happen when a Disable/Enable is done)
4) I found the wireless connection fired back up again under Intel control and browsing was OK however in order for the bridge to appear as a device in AirSnare or Ethereal I needed to restart the XP

After this procedure it was possible to monitor with the 2200BG card but I needed to disable the promiscuous mode in the options. It is only possible to monitor traffic for the particular PC and broadcast traffic. Other traffic would require the promiscuous mode to be working correctly.

UPDATE:

Using -

2200BG driver - Intel v 9.0.4.8 (IBM issue)
Ethereal v 0.10.14 (network sniffer/analyzer tool)
WinPcap 3.1 (low level device driver for network applications)

Found Ethereal monitored the 2200BG card OK without a bridge being required but still no promiscuous mode.

A bridge was created and the 2200BG card still worked OK with Ethereal. The following (MS KB 302348) was tried to enable promiscuous mode on the card but didn't work -

In the XP CMD window

>netsh bridge show adapter

should give ID and status of adaptor

>netsh bridge set adapter x forcecompatmode=enable (where x is ID)


sets the promiscuous mode

Not surprising really since Intel still don't support promiscuous mode on the Centrino adapters but it is always worth a try - at least Ethereal and WinPcap seem to be doing the right thing now.





Software - XP
 
Aug 24, 2005
 
22


Properties in Right-click context menu for folders not working

Close ...
Platform: XP Pro with SP1

This has been happening as an intermittent problem and getting annoying. The problem was basically down to an interaction problem with IIS and Zonealarm. When I did a reset of the IIS (iisreset in the cmd window) suddenly all the properties windows I had been trying to get popped up.

Further details of this problems can be found at -
www.murraymoffatt.com/software-problem-0005. html

The DependOnService registry fix as outlined tends to indicate that the W3SVC needs to be started before the TrueVector service is started.





Hardware - Windows
 
Aug 24, 2005
 
21


Mapping a Windows key on IBM R51 ThinkPad

Close ...
Use the Access IBM facility.

Configure>Manage Keyboard & Pointing Devices>Map Keys to Functions

A good key to use seems to be the Right Alt Key (AltGr on the keyboard)





Wireless/Networking
 
Aug 07, 2005
 
20


Networking printers on wireless LAN

Close ...
Using 54G wireless LAN with PowerBook G4 client running OS 10.2 (Jaguar) and Samsung ML-1210 laser printer (USB) on an XP SP1 client.

My experience was as follows:

There seems to be 2 fundamental approaches that can be used to allow a Mac OSX machine to use a Windows XP hosted printer.

use the inbuilt SAMBA functionality of the OSX

use IP Printing approach in OSX

I initially had some success with the SAMBA method when trying an Epson 740 colour inkjet printer - this was made easier by the fact that the Epson drivers were easily found/already installed in the Mac's Print Centre.

A good run down on the procedure is found at -

homepage.mac.com/william_white/print_to_wind ows.html

I later found another procedure using the IP Printing mode in the OSX Print Centre and despite the numerous hassles I had getting it to work it is the more straightforward approach.

A good run down on this is given at -

www.macosxhints.com/article.php?story=20021230045509864

Thanks to Anonymous who posted this one - the main detail was -

On the WinXP Box:

Add the TCP/IP print server service

1. Log in with Administrative privileges.

2. Click Start -> Settings -> Control Panel.

3. Double-click Add-remove Programs.

4. Click the Add-Remove Windows Components side button.

5. Open the Other Network File and Printer Services section.

6. Put a checkmark in Print Services for Unix.

7. Click OK; click Next. (The Computer will probably ask for the WinXP install disk, go ahead and put it in and the install will run automatically.)

8. Click Finish.

9. Close the Add-remove programs window.

To have the service start automatically (as a daemon):

1. Click Start -> Settings -> Control Panel.

2. Double-click Administrative Tools.

3. Double-click Services.

4. Double-click TCP/IP print Server.

5. Change the "Startup Type" to Automatic.

6. Click OK and close the windows that are open.

To share the printer for TCP/IP printing:

1. Click Start -> Settings -> Printers.

2. Right-click the print you want to share and select Sharing.

3. Click the radio button for Share as and fill in the share name you want to print to.

On your Mac:

1. Launch the Print Center.

2. Click the "Add Printer" button.

3. Change "Appletalk" to "IP Printing"

4. Enter the WinXP Computer's IP address in the Address box.

5. Uncheck the default queue radio button.

6. Enter the name of the printer share you defined on the XP machine.

7. Select your printer model (Install Gimp-Print if you don't see a ppd for your printer, restart print center and try again).

My take on the procedure was -

Installing/enabling the Print Services for Unix in XP is no problem (you do need the XP CD of course).

Setting the Service to Startup Type=automatic is straight forward.

The Mac Print Centre (for me unknown territory) was the first area of delay.

Selecting the IP Printing was easy and the printer share just had to be SamsungM (as in the XP box) however I came to understand that the actual printer driver needed to be installed in the Print Centre. Samsung drivers are not included in the OSX load so I needed to find some.

This place was excellent -

www.linuxprinting.org/macosx/samsung-gdi/

The ESP GhostScript package had already been installed at some stage earlier in the great adventure so I just needed to install the Samsung package. It worked beautifully and appeared in the Print Centre as I expected.

The printing was being submitted with no errors but nothing happened.

The Event Viewer in XP showed entries relating to the LPDSVC (Line Printer Daemon Service) and was suggesting problems with the path/share.

The sharing was indeed where the problem lay.

Setting the sharing against the printer was a hassle for me - normally it is straight forward but for some reason when I hit the APPLY button the applet would go into a "Not Responding" state. The result was the printer was in a half shared state. When I tried to set it the PC would "suggest" a name (eg: SamsungM) even if I typed another so go with the suggestion. If I disabled and then re-enabled the share the suggested name became something like SamsungM.2 (the next time it was SamsungM.3 and so on). Checking the registry confirmed that the share name wasn't registered in as many places as it should be so eventually I decided to go for the usual troubleshooting method for Windows and restart the machine whereupon I found it went into limbo and I couldn't even get Task Manager to fire up (there is still a good case for even XP to qualify for the CrapOS tag) so I waited for 20 mins (sometimes things start happening after XP has had a smoko) and still limbo so did the big power switch thing (Scandisk was invoked on restart).

Well - things looked up, the share had been lost but when I reapplied it the suggestion for the sharename was SamsungM and the registry was more complete (It looked better when I hit the OK button rather than the APPLY button because the window closed and no limbo).

Bingo- after the sharing was properly invoked the printer worked.

So all in all the networking of the Samsung ML-1210 in theory should have been a 10 minute job - I took a bit longer getting there but the tortoise made it and the IP Printing method works well.

UPDATE:

I found the LPD method broke on 10.3 however a reasonably easy alternative is available.
The Print Center died with 10.2 but has been replaced by the Printer Setup Utility in 10.3. The XP end basically remains the same ( in my case the printer shares was SamsungM ) the only other embellishment was to create a user account on the XP machine.

In the OSX -

Go to Printer Setup Utility
Select Windows Printing
Select Network Neighbourhood
Select the network eg: HOMELAN
Enter USER/PASSWORD combo (this doesn't show if the Keychain Save has been used previously)
Select the printer share from the list shown eg: SamsungM
Select printer model eg: Samsung ML-1210,Foomatic & GDI

That's it folks!

A really useful visual management tool in OSX 10.3 is the CUPS printers page in the browser which shows the status of the printers along with errors, etc

URL is 127.0.0.1:631





Hardware - Windows
 
Aug 07, 2005
 
19


Printer Sharing on XP Pro SP1

Close ...
Whether it is a real problem or just a quirk of my particular install of XP there is a problem with applying a share to a printer.

I check the "Share this printer" radio button and the Share name text box populates with a suggested name of 8 chrs in length. Changing this usually gets mixed results but if I accept the suggestion and APPLY or OK the applet goes into a "Not Responding" state. I need to close the window and after a few flash of the desktop graphics the system recovers. On viewing the printer in the Printers and Faxes part of the Control Panel the printer appears shared however if I go the the Sharing tab I see an erroneous name such as EpsonSty.2 and viewing the registry confirms that the share hasn't been fully applied.

Particular registry entries I check are -

HKLM/SYSTEM/CurrentControlSet/Control/Print/Printers/Epson Stylus
COLOR 740 ESC/P 2

Share Name REG_SZ EpsonSty

HKLM/SYSTEM/CurrentControlSet/Control/Print/Printers/Epson Stylus
COLOR 740 ESC/P 2/DsSpooler

printShareName REG_SZ EpsonSty (this is missing usually)

If the sharing is disabled and re-enabled then the same happens but the suggested name just increments - eg:

EpsonSty becomes EpsonSty.2 then EpsonSty.3, etc

It seems a bit hit and miss but to resolve the issue I did the following which appears to work.

Unplug USB printer

Disable the share

Delete the printer

Use Regedit -

Clear out entries such as EpsonSty, EpsonSty.2, etc from various keys as below.

HKCU/Software/Microsoft/Windows/CurrentVersion/Explorer/
WorkgroupCrawler/Printers/

HKLM/SYSTEM/ControlSet001/Services/lanmanserver/Shares/

Close Regedit and restart PC. The only stuff left should be the old driver installs which are OK.

Plug in USB printer and XP should soon pick it up and then acknowledge it has been installed because the drivers are still in place.





Wireless/Networking
 
Jun 10, 2005
 
18


Clients using Belkin F5D7000 wireless card

Close ...
XP client using Belkin F5D7000:

Had problems with wireless link dropping out. Got to a stage that the wireless link would not connect at all and it was the same with two different hard disks running XP SP1 in the same P4.

Resolution: Quite a bit of horsing about on this which is par for the course with CrapOS, etc but relocated the WAG54G to a position c. 8cm from the client aerial and still no connection (I had doubts about the integrity of the Linksys signal). I think the problem stems back to the fact that the Belkin F5D7000 card was sourced in NZ (designated F5D7000au) and the original setup CD is an Oz/NZ distro. I had applied later UK upgrade updates on top of this driver since the UK driver updates require the base CD to be installed whereas the updates for Aus/NZ are standalone and don't necessarily require the original CD. So lesson learn't that I will continue using the Oz/NZ driver updates for my card and all seems solid enough at the moment. I managed to install the driver without the full wireless monitor utility which may also make a difference as the utilities appear to affect the card operations very intermittently ( this may however only be the case when the drivers are horribly mixed as they were before re-installation correctly).

During all the hassle of course I found that there are updates to XP for wireless -

KB815485 - Overview of the WPA Wireless Security Update in Windows XP

WindowsXP-KB826942-x86-ENU.exe



117 Posts. Displaying page 3 of 12.
Previous Next

Go to page: