Archive for the ‘Internet Connection’ Category
Fix VMware Networking
Occasionally, my students loose their network connection when copying their virtual machines. This article shows you how to rebuild your Internet connection.
The first step requires you to identify the port number on your host operating system, which is typically Windows OS or Mac OS X. You can find that by running the following search from a Mac OS X Terminal session or Windows OS Command session.
If you’re on the Mac OS X, you launch a Terminal session and then use the sudo
command to open a shell as the root
super user, like this:
sudo sh |
As the root
super user on Mac OS X , you run the netstat
command like this:
sh-3.2# netstat -a | grep 1.ntp | grep -v grep udp4 0 0 192.168.147.1.ntp *.* |
VMware uses the same subdomain with one difference for the gateway, it uses node 2:
192.168.147.2 |
The alternate syntax to find Vmware’s subdomain requires you to use an Administrator account on Windows, like this:
C:\> netstat -a | findstr /C:.ntp |
After you determine the subdomain, you need to ensure VMware is configured correctly. You navigate to the menu and choose Virtual Machine and then Settings from the dropdown menu. The software shows you the following:
Then, click on the Network Adapter under the Removable Devices, and you see the following screen:
You need to make sure that you’re using Internet Sharing, or Share with my Mac. If you’re not using it select it now.
Launch the hosted Linux OS and open a Terminal seesion. Inside the Terminal, you should find the machine’s address as the root address with the ifconfig
utility. The technique follows:
[student@localhost ~]$ sudo sh [sudo] password for student: sh-4.2# ifconfig eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 00:0c:29:70:77:64 txqueuelen 1000 (Ethernet) RX packets 34 bytes 4190 (4.0 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
Next, you need to edit some files, they assume the VMware Network Gateway is 192.168.147.2
and the machine’s address is “00:0c:29:70:77:64
“. The first file you need to edit is the /etc/resolv.conf
file, and it should look like this:
domain localdomain search localdomain nameserver 192.168.147.2 |
The second file you need to edit is the /etc/sysconfig/network
file. It should look like this:
# Created by anaconda NETWORKING=yes HOSTNAME=localhost.localdomain GATEWAY=192.168.147.2 |
The third file you need to edit is the /etc/sysconfig/network-scripts/ifcfg-eth0
file. It should look like this:
DEVICE=eth0 HWADDR=00:0c:29:70:77:64 ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=dhcp TYPE=Ethernet DNS1=192.168.147.2 USERCTL=no PEERDNS=yes IPV6INIT=no |
The last step requires that you reboot the machine or run the /etc/rc.d/init.d/network
to restart the network. I hope this helps those trying to restore their VMware hosted operating systems network connection.
Site Blocked in Russia?
This is either too funny 🙂 or too sad. 🙁
An acquaintance sent me this image from a cyber cafe or hotel in Russia. It says that my blog site is prohibited and violates Russian law, and that they’re blocking my site in accordance with the Russian Federal Law of 27.07.2006 No. 149-FZ.
All I can say is, “Wow!” I didn’t know that stuff about writing programs, web pages, and solving generic database and operating system problems was so sensitive. For that matter, I didn’t know what I post would interest any government. I half wonder whether my friend’s pulling my leg.
As I reflect on it, could it be that Oracle post on how to write an encrypted object type? or, how with proper OS credentials how you reset MySQL’s root password? or, how to verify a socket in Perl? Nah, it’s probably the one on how to set a static IP in Windows – that’s truly sensitive stuff. 😉
Does anybody who reads the blog have any clue about what would drive the Russian government to block a technology blog site like mine? My serious guess is that there is somebody who hosts with the same provider who’s done something tacky.
DSL Internet Light is off
It was a surreal experience this weekend because CenturyLink took my DSL-based Internet offline. Calling their 24 hours support yielded 1st level support, who could do nothing but repeatedly ask me to re-enter my user ID and password. They wouldn’t listen to the simple fact that my Internet light was off, which means the problem is on CenturyLink’s part.
First level support said my DSL-Modem was broken. Naturally, it was the one they provided and charge me $5/month for. I explained that if the DSL light was green one moment and not lit another and the internal Intranet continued to work, it wasn’t the DSL-Modem/Router’s logic board. However, I even went and bought a new DSL-Modem to verify that it would have the same problem symtoms.
With the new modem, the same problem existed. When I contacted the support, the support person said, “Your new Actiontec DSL-model isn’t supported.” Then, they wanted me to call Actiontec. Immediately recognizing their attempt to dodge ownership and close the request (supporting their job metrics), I reconnected the DSL-Modem/Router and said,
“Your supported device is now reconnected and failing to connect to your server. The Internet light is not lit, which means it doesn’t fail or succeed to connect, it simply can’t get recognized to validate a connection on your server.”
Naturally, by this time it was the weekend. The support representative then said, I’d have to call back on Monday during normal business hours because nobody held privileges to reset the server. They said, “Ask for 3rd level support. That’s so interesting because CenturyLink boast 7×24 hour service while it appears that their support model is 5×8, 5×9, or 5×10 hour service.
When I finally got a support person online Monday to escalate to the next level, or beyond, this support person wouldn’t acknowledge that the issue required 3rd level support. They had only 2nd level support. Who knows what’s true at this point, eh? When they did escalate, 35 minutes later the service was reconnected without any action on my DSL-Modem/Router. The light went from unlit, to red, and then after less than a minute to green. This proved exactly what I tried to explain on Thursday last week, which yielded nothing. Unfortunately, I had to travel to Utah Thursday evening and couldn’t get back to the problem on my end until Saturday. Then, the support limits of CenturyLink kicked in and Internet couldn’t be restored until Monday.
CenturyLink has taught me they don’t care about customer service, and that they’re support model is broken. Unfortunately, there are few options in Rexburg, Idaho. It strikes me there needs to be a Federal law if there isn’t already one to mandate the support staffing hours of Internet providers. Next step, I should ask my Congressman if there is a law, and if there isn’t a law start a public driven initiative to create one. By the way, I waited 26 minutes for them to find a duty manager – apparently another broken process or staffing glitch. When he got online, I asked for an email stating what they had broken on their level. That manager represented that they don’t have access to email, like their 1st support analyst, and now I’m waiting for a manager at the next level. I wonder how many levels are required to find somebody with email? Apparently, nobody can send the email because of their security concerns. It makes me wonder if nobody can send an email to acknowledge their mistake. 😉
Bottom-line, when the Internet light goes dark (unlit), escalate and don’t bother with 1st level support. It’s a waste of your time.
By the way, when I looked into a Cable connection it was the same price and it’s twice as fast. Yes, I’m switching now. So much for the ad copy of 99.9% up time, it doesn’t factor in their downtime windows when the Internet goes unlit. That happens for hours on the weekend several months a year, that appears to be their unpublished service window. Wouldn’t it be interesting to see what their real customer up-time is?
The plus side, is that CableOne’s Internet is 6 times faster and the same cost (provided you have a dedicated phone line), as you can see in my speed comparisons using http://speedtest.net (also in my comment replying to CenturyLink below).
Service | Download | Upload |
---|---|---|
CenturyLink | 5.69 Mbps | 0.95 Mbps |
CableOne | 30.34 Mbps | 1.60 Mbps |
My only regret is that I didn’t change sooner. Thanks to CenturyLink’s classic example of aggravating customer support, non-transparent outages, and tirelessly trying to maintain image through a 1st level support team for helping me make the change.