Ubuntu 5minutes per day - Setup the network

Today is too long for me to come back using Ubuntu, it has been install since the time I began using it last year

Ubuntu - Linux for Human Beings!

You are using Ubuntu 10.04 LTS
                - the Lucid Lynx - released in April 2010 and supported until April 2013.   


So humble, it is not really up to date but a little bit helpful for me, will get it upgraded to version 13, so now be back working around.

Networking service: modify the configuration file and manage its service.

I prefer using terminal rather than GUI,

ifconfig

eth1      Link encap:Ethernet  HWaddr 00:1d:09:24:c2:85 
          inet addr:192.168.0.51  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:9ff:fe24:c285/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38859 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26086 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:51798679 (51.7 MB)  TX bytes:2430006 (2.4 MB)
          Interrupt:16
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8691 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8691 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1246352 (1.2 MB)  TX bytes:1246352 (1.2 MB)


It seemly does not allow me accessing to the Facebook but I will not surrendering  

sudo su 
cd /
gksudo gedit /etc/network/interfaces
or
vi /etc/network/interfaces

auto eth1
iface eth1 inet static
address 192.168.x.x
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.x.x
dns1 192.168.x.x

Just add the dns's setting and name server 

hit a to enter the edit mode

dns2 8.8.8.8
dns-nameserver 8.8.8.8

hit ESC, :wq!


Then,
sudo /etc/init.d/networking restart

Try Facebook again, yeah great! I can access it, thanks God.

Now try with Google Chrome, I have synced everything on there so need it get me back with a lot of favourites stored. The company Dell one has been stolen..hix so sad and bad fortune.
 
Go to the internet menu and pick up Chrome, oop!

Google Chrome can not be run as root.
Please start Google Chrome as a normal user. To run as root, you must specify an alternate --user-data-dir for storage of profile information.

Doesn't matter, work around and playground

Back to the terminal then:

apt-get install google-chrome-stable

it's in a progress, oop...now stop the synaptic package manager, check to uninstall then back to the shell.
   

Ok, it seems running now   


Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libaccess-bridge-java-jni libaccess-bridge-java
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  google-chrome-stable
0 upgraded, 1 newly installed, 0 to remove and 165 not upgraded.
Need to get 0B/39.9MB of archives.
After this operation, 141MB of additional disk space will be used.
Selecting previously deselected package google-chrome-stable.
(Reading database ... 376680 files and directories currently installed.)
Unpacking google-chrome-stable (from .../google-chrome-stable_27.0.1453.110-r202711_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Setting up google-chrome-stable (27.0.1453.110-r202711) ...
update-alternatives: using /usr/bin/google-chrome to provide /usr/bin/x-www-browser (x-www-browser) in auto mode.
update-alternatives: using /usr/bin/google-chrome to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode.

Hopefully it could work, try it now, stupid it's still not working at all, why?

Because of the previous proxy setting, it was an ISA 2006 server and the information is still in the cache.

Try editing the config file /etc/apt/apt.conf

sudo gedit /etc/apt/apt.conf

clear the file then type the following before saving

acquire::http:: proxy "false";

Then now, it work. I'm trying to connect to the VLAN 2, so back to adjust the interfaces file.



  



 



Comments

Popular Posts