Sunday, February 20, 2011

Wifi connection problems on android on Samsung Galaxy tab

I have a Tplink router and I have noticed I get wifi connection problems when trying to connect to it using my Samsung Galaxy tab mini tablet. After a lot of checks, I managed to see that the problem is from the DHCP.
The problem happens only when using a secure network (WEP or WPA/PSK).
The problem was that after the phone would recognize the net and try to connect to it, it would say "Remebered" on the connection for a short period and them it would show "Disabled" without any reason.

Since the problem is in DHCP, and until they fix it, it can be soved by defining a manual IP address on the wifi settings of the tablet:

- Goto Settings -> Wireless and Network -> Wi-Fi Settings
- If your router is already shown in the list, "long click" on it and choose "forget"
- (ignore the entry if it re-appears automatically)
- Select Add Wi-Fi network
- Type the name of your network, set the security type (WEP or WPA/WPA2 PSK) and enter the password
- The network should appear now on the list, don't connect to it yet
- "long click" on your network entry, and then setup your ip address manually, choose one from the range defined in the router (e.g., 10.0.0.24 or 192.168.1.24) then set the network mask (typically 255.255.255.0) and then set the gateway and dns addresses - these should be the address of your router, the same address you put on your home computer browser to access the admin of your router, you can see it by opening a 'cmd' window on your computer and typing 'ipconfig' , use the same gateway address listed there for your phones gateway and dns settings.

Note: i noticed that getting the possibility to set your ip manually on the tablet is not consistent and it won't always give you this option when 'long clicking' on your network - you will hav to use trial and error.

Wednesday, February 16, 2011

Using JQuery with Visual Studio ASP.NET when using master and content pages

Good article for beginners on how to use JQuery together with C# ASP.NET here.

Pay attention to the comments at the end if you are using a master page and content pages and pay attention you will need to use a different finder string to locate auto generated ASP.NET control IDs:

Comment posted by Konrad on Tuesday, January 05, 2010 10:23 AM 
Something important when referencing server controls,
if you have a asp:Button control, $("#Button1") won't work.
You need to use this $("#<%= Button1.ClientID %>") 



Comment posted by mayuresh on Wednesday, March 04, 2009 4:08 PM
Adding the same code to a child page inheriting a master page..cause the page to referesh on postback


    
    


   

    

Using JQuery with ASP.NET comes to mind immediately when thinking of using a datetime picker control that is so much missing from the tools section of visual studio (the calendar control is really not a solution for most of us ! )

Wednesday, February 9, 2011

How to disable windows Internet Explorer Enhanced Security Configuration

When you freshly install windows 2003, "internet explorer enhanced security configuration" is on by default which makes your life hell when you try to browse the web and doesn't let you download firefox either (because clicking download on firefox each time triggers a different server that needs to be authorized by adding it to the allowed sites).

To solve this issue, and just download a normal browser such as firefox, simply go to control panel -> add /remove programs -> add/remove windows components -> uncheck "internet explorer enhanced security configuration" -> next,next,next .... finish -> download firefox

In windows 2008 it is a little different, Windows Server 2008 implementation of Internet Explorer Enhanced Security Configuration is configured through Server Manager. Select the root of the Service Manager navigation pane, and under the Server Summary click Configure IE ESC, which is part of the Security Information section. A dialog box appears, letting Internet Explorer Enhanced Security Configuration be enabled/disable separately for normal users and administrators.

Sunday, January 9, 2011

Fixing paper jam problem with Xerox 3117 Phaser laser printer

Xerox 3117 Phaser has a problem when a paper is automatically loaded for printing it gets stuck half way through and then you need to pull it out physically.

I found a solution for this (heard it from an experienced printer servicing person), you need to take a strong tissue that doesn't tear easily (like baby wipes) and clean the the feeding roller (see pic below) and the rectangle below it (in the picture below the rectangle is under the pages) with some acetone or alcohol.


This worked like a charm for me !
You have to repeat the process every month or two.

And another good advice is always to have at least 15 pages in the feeder and not less - it helps loading the sheets.

Software and IT Freelancer sites

A small list of sites with projects for software and IT freelancers:

They are pretty much the same and I can't find any special affinity to either one.

Wednesday, October 13, 2010

איך חברות תקשורת גדולות ובנקים דואגים שלא תראה כמה אתה משלם בחשבון החודשי - או - איך לשלוט בהוצאות החודשיות

לחברות תקשורת יש מוטו - שלקוחות לא ישימו לב שיורד הכסף

זה מתחיל בלחייב בהוראות קבע
וזה מסתיים ב"מגמה ירוקה" של "בוא נחסוך נייר" ותקבל חשבונית אלקטרונית במייל
רק מה, החשבונית במייל היא לא חשבונית ! היא קישור לדף כניסה לאתר של החברה שם צריך למלא סיסמא ושם משתמש בשביל להכנס לפורטל האישי וממנו צריך לחפש את הקישור לחשבונית

הגדילו לעשות חברות אורנג' ובזק : אורנג' גם שולחים לך כל פעם אס אם אס עם קוד לסלולרי שתזין באתר כדי להכנס (לפורטל של השב"כ יותר קל להכנס) ובזק הפעילו את פטנט ה 8-6 תווים לסיסמא - פטנט ידוע שגורם לך לייצר סיסמא מיוחדת רק לאתר שלהם ששונה מהסיסמא הקבועה שאתה משתמש לכל האתרים הלא חשובים כי יש לך מקסימום 8 תווים ומינימום  6 ואז כמובן אתה לא זוכר את הסיסמא ומוותר על כל העסק המסובך שנקרא לראות כמה יצא לך בחשבונית החודשית
פעם כתבתי תוכנה חינמית שנכנסת לך אוטומטית לכל אותם אתרים שכאלה ושולחת לך אס אם אס חינם בתחילת כל יום עם החשבון המעודכן שלך - לדעתי זה הפתרון לכל חברות ההוצאות המשתנות למיניהם - סלולר, תקשורת קווית פנים ובין לאומי וחברות כרטיסי האשראי - כשאתה רואה ברמה היומית כמה אתה מוציא זה פחות מפתיע אותך בסוף החודש ויותר קל לשלוט בתוצאות. לא סתם בכל תכניות הצרכנות ממליצים למי שקשה לנהל הוצאות חודשיות לבטל את כרטיסי האשראי ולעבוד במזומן 

את התכנה הפסקתי לתחזק אחרי שכמה אתרים שינו את שיטת הכניסה אליהם ואז הורדתי אותה מהאינטרנט - אני צריך למצוא זמן לחזור אליה ולסדר אותה שוב.

משיכת יתר של בנקים זה בדיוק אותו דבר, בו לא נחתים כל לקוח על כל הלוואה, אלא נפתח פתח להלוואות "אוטומטיות" בריבית שערוריתית שגבוה תמיד מריבית של הלוואה שתיקח בבקשה ספציפית - כל פעם שלקוח יכנס למינוס נתן לו הלוואה שכזו וגם אין צורך ליידע אותו. ואהה כן... כמעט שכחתי ... נחייב אותו גם בעמלת מינימום שלא קשורה לגובה המינוס מעבר לריבית כדי שישתלם לנו הבנקים עוד יותר.

לפני כמה שנים יצא חוק נגד התופעה מכיוון שהבנקים יכלו לא לשים לך גבול על רמת משיכת היתר - אם אני הייתי בנק שמנסה להרוויח כסף מכל דבר - לא הייתי מגביל אנשים למינוס של 5000 הייתי נותן להם גם 20000 , מה איכפת לי זה בעצם הלוואה שאני נותן בריבית של 15% (כמובן כל עוד אני חושב שתוכל לשלם את זה) . החוק קבע שכל אזרח צריך לקבוע מראש מול הבנק בהסכם חתום את גובה המינוס או גובה האשראי שהבנק יספק לו והבנק מחויב לא לעבור סכום זה. רק מה היתה הבעיה ? שלקראת ההצבעה הסופית של החוק הלובי של הבנקים לחצו וקיבלו סעיף שאומר שאם הבנקים ירצו בכך הם יוכלו לא לדחות בקשות התחייבות לתשלום מעבר לסכום שנקבע וכל זאת על פי שיקול דעתם... זה בעצם אומר שאם חתמת על גובה אשראי 0 (או לא חתמת בכלל שזה אותו דבר) אז אם אתה בפלוס שקל והגיע הוראת קבע או חיוב כרטיס אשראי של 1000 שח הבנק רשאי לתת לך את ה1000 כהלוואה עדיין אבל בריבית חריגה במיוחד כי זה מעל מה שקבעת מראש איתו - איזה יופי - במקום לשלוח לחברת כרטיס האשראי מכתב שאין כסף עבורם בחשבון ולתת להם את המכה שהם אחר כך יעבירו אליך שילמד אותך איך לנהל נכון את כספך (ללכת לקחת הלוואה מראש מהבנק כשאתה יודע שתחרוג ממה שיש לך ואז גם לקבל ריבית הרבה יותר נמוכה) הם עושים בדיוק להיפך ! ועושקים אותך עוד יותר

עוד דוגמא לעסק הנל - כרטיס אשראי מולטי שנותן לך "לשלוט בהוצאות" בפועל הוא פשוט גירסה דרקונית של משיכת יתר - אם נסכם איך הוא פועל במשפט זה יראה ככה: הכרטיס הוא כמו כרטיס אשראי רגיל, רק מה, יש לו סכום קבוע שיורד בסוף החודש (בשאיפה ובברירת מחדל סכום זה יהיה כמה שיותר נמוך) כל מה שלא ירד ייחשב כאילו לקחת מחברת האשראי הלוואה בריבית ששואפת ל 20% (!!!) שזה ריבית שגובלת בשוק האפור ובנוסף נשתדל בכל דרך אפשרית להקשות על הלקוח בשיטות שתוארו בתחילת הפוסט שלי לראות כמה הלקוח מוציא חודשית וכמה הופך להלוואה וכמה יורד בסוף החודש

המלצה שלי - הוציאו כל שבוע 1000-1500 שח במזומן והשתמשו בו כמה שיותר במקום כרטיס אשראי (לפעמים כגון מבצעים מיוחדים עדיף כרטיס אשראי אבל זה לא רוב המקרים) בנוסף העדיפו לקבל חשבוניות בדואר רגיל

Monday, October 11, 2010

Orange mobilink lite annoying bug and how to avoid reboot





A Very annoying bug with mobilink cellular modem for laptops is that sometimes you insert it and it won't bring up the connect screen shown above. There is a mobilink in the taskbar on the bottom but it can't be maximized to show the connect button. It also can't be closed even through the quick launch item.

Usually you need to reboot to connect to the internet.

A quick solution is to take out the cellular modem card, press ctrl-shift-esc and select the process 'Lite' and then do 'end process'. Now when you insert your mobilink card again it will bring up the screen without rebooting.