You are not logged in.
Pages: 1
I am having problem updating my fresh ARCHLINUX 64bit Installation. This is my first experience with Archlinux.
I have read the Installation Wiki and the Networking Wiki- in fact I have printed the networking wiki. I had no issues installing the core CD package. The System rebooted successfully. I successfully edited the mirrorlist and removed # from the server I want to use which is http India server. I used # pacman -Syy (and then I also used # pacman -Syu and # pacman --sync --refresh -sysupgrade) to update the System. I get the following after running the commands:
# pacman -Syy
: : Synchronizing package database...core 0.2K 102.7K/s 00.00.00 [##############################]100%
extra 0.2K 68.7K/s 00.00.00 [##############################]100%
community 0.2K 1625.1K/s 00.00.00 [##############################]100%: : Starting full system upgrade...
Local database is upto dateWhen I #ping -c 3 www.google.com I get
3 packets transmitted, 0 received, 100% packet loss, time 2008ms.
I am sure that I have configured my network correctly (as guided by the wiki), however, It is quite obvious from the above that, somehow, I am not connected to Internet. I think I have to log in to my ISP account to be able to access the Internet. If my suspicion is correct then I need help log in into my ISP account.
How do I log in into my net account from cli?
Or are there any other possible issues that I must take care of?
Please guide me, I have been trying to figure out since last couple of days.
Thanks.
"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon
Offline
Offline
It didn't help. I checked and re-checked, the output from # ifconfig eth0, # netstat -rn, and # cat /etc/resolv.conf - everything is in order and correct afaik. I could not get past the I suggested test to ping my default gateway.
However there is something I noticed: my ping statistics do not say "Destination host unreachable", instead I get "4 packets transmitted, 0 received, 100% packet loss, time 3015ms". I do not know what to make of this.
I am composing this from ubuntu from the same computer on which I have installed Archlinux and auto eth0 is up and running. So basically all is fine with my ISP. Also I have checked my Network Configuration here on ubuntu and it is exactly same as what I found on Archlinux.
need more guidance....
Thanks.
"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon
Offline
Do you have network in the DAEMONS array?
Have you tried starting the network manually and see if it throws any errors?
# /etc/rc.d/network start
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
How do I log in into my net account from cli?
how would you generally log in under ubuntu? if it's from a browser, try with links browser from the command line
Offline
Do you have network in the DAEMONS array?
Have you tried starting the network manually and see if it throws any errors?
# /etc/rc.d/network start
Yes, I have network in the DAEMONS array and I have tried starting the network manually, /etc/rc.d.network start/stop/restart. It works fine and throws no errors.
how would you generally log in under ubuntu? if it's from a browser, try with links browser from the command line
Interesting. But I think I have to download and install the Links Browser, I don't know how to do it when I can't connect to the internet in the first place. Is there a workaround?
thanks.
"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon
Offline
Interesting. But I think I have to download and install the Links Browser, I don't know how to do it when I can't connect to the internet in the first place. Is there a workaround?
You can download the package off a mirror from ubuntu (can just go download it using a browser), transfer it somewhere you can access from arch and install with pacman -U. You'll also need be sure any dependencies are also installed by hand too (for links it looks like it needs bzip2 zlib openssl and gpm)
Offline
You can download the package off a mirror from ubuntu (can just go download it using a browser), transfer it somewhere you can access from arch and install with pacman -U. You'll also need be sure any dependencies are also installed by hand too (for links it looks like it needs bzip2 zlib openssl and gpm)
It didn't help... something else is missing.
Anyways the point is to get my network working. I am sure there is solution out there... until then i will sit impatient.
"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon
Offline
Perhaps the entries in rc.conf have missing parenthesis.........
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Perhaps you have fixed IP access to ISP but have dhcp enabled........................
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
how are you connected to the internet? router, modem, ...?
Offline
See also :https://bbs.archlinux.org/viewtopic.php?id=120176
News item about new rc.conf ..............
Last edited by lilsirecho (2011-06-09 17:19:21)
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Perhaps you need to enter..../etc/rc.d/network restart..................
This is often necessary even though the network was already started(possibly at the wrong time).
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
what do you get from ifconfig? you're obtaining an IP address, DNS server, etc. right?
can you ping your default gateway?
also, this:
how are you connected to the internet? router, modem, ...?
Last edited by SolarShado (2011-06-10 03:24:28)
Offline
I have tried almost everything I could to get my internet going still success is elusive. I have even contacted the ISP and the technicians they sent to help me proved to be futile. Actually they are thorough bred in Windows variants.. Linux is not their cup of poison.
I just got back from my vacation and tried all over once again and back to square one. The network connection is not established.
By the way, I use Wired Cable for my internet. I do not use any Router. (Generally the ISP login method is through a web browser which works out of the box on all pre-configured distros. I have to open their webpage (http://portal.beamtele.com/) and use my login username and password).
My rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Asia/Kolkata"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="jbs-desktop"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 183.83.64.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond)
Please help me find a way...
Last edited by fantab (2011-06-23 06:56:17)
"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon
Offline
By the way, I use Wired Cable for my internet. I do not use any Router. (Generally the ISP login method is through a web browser which works out of the box on all pre-configured distros. I have to open their webpage (http://portal.beamtele.com/) and use my login username and password).
that means you are using a modem? somehow you have to establish your connection.
Offline
that means you are using a modem? somehow you have to establish your connection.
HOW?
I am using Links Text Browser this time. My ISP webpage says that I have "invalid network configuration" and that I should contact customer care. Well, the customer care is yet to find a technician who can help with linux.
How do I get a valid network configuration?
There is something I noticed in the /etc/hosts when I compared ubuntu hosts file and Arch hosts file:
/etc/hosts - Arch
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost jbs-desktop
# End of file
/etc/hosts - ubuntu
127.0.0.1 localhost
127.0.1.1 jbs-desktop
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
If you observe the line2 in the ubuntu-hosts file there is an additional address 127.0.1.1 and offcourse the desireable lines for IPv6 capable hosts... The question is can I replace the host file info in Arch with that on ubuntu? because ubuntu has a 'valid network configuration'. Or will there be any issues if I do so?
"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon
Offline
The question is can I replace the host file info in Arch with that on ubuntu? because ubuntu has a 'valid network configuration'. Or will there be any issues if I do so?
Simply replacing files from one distro to another is never a good idea.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
fantab wrote:The question is can I replace the host file info in Arch with that on ubuntu? because ubuntu has a 'valid network configuration'. Or will there be any issues if I do so?
Simply replacing files from one distro to another is never a good idea.
Well I tried that and it did not work.
I have reinstalled Arch again. Still no internet. I don't want to give up.
I am forced to ask, "what configuration other pre-configured distros use that makes internet work out of the box?" Do I have to select some more optional packages from the core cd to get myself a valid network configuration? What am I missing?
"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon
Offline
The trouble is that you ISP requires you to login into a browser to get to the internet.
I know of a few ISPs (read : cable providers) in India that do that and its really a pain in the ass to get things working on anything but Windows.
Maybe they are putting you behind a proxy. In that case you can try setting the http_proxy and https_proxy environment variables and see if that works. Its a long shot, but still worth a try.
I am assuming the following:
your ISP user name = fantab
your ISP password = password
your ISP proxy website = isp.address.com
your ISP proxy port number = XXXX -- you might want to call your customer service and ask them if they indeed put you behind a proxy and then ask the port number. If its an apache proxy, the default port would be 8080 (so if the customer rep doesn't know the port number try to ask what proxy server they use -- most likely a open source free software is what they tend to use)
export http_proxy="http://fantab:password@isp.address.com:XXXX/"
export ftp_proxy="http://fantab:password@isp.address.com:XXXX/"
export https_proxy="https://fantab:password@isp.address.com:XXXX/"
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Here is my take on what is happening:
http://portal.beamtele.com/ provides fiber to a local, community server that provides copper Ethernet to several homes in an area.
You are connecting to that network and receive an address.
They place you in a ip routing jail until you log in using a browser
All traffic is redirected to the login screen until you provide credentials.
It was suggested you use Links to login, but I saw no feedback on whether that worked.
If links does not work, you may need a full feature browser that supports Javascript (Firefox, Chromium, Opera)
Try this:
Boot another operating system (Dual boot, live CD, etc)
Log in to the Internet.
Reboot to Arch.
If the login survives the reboot, update your system and install Firefox or similar.
If the login does not survive reboot, then (Plan B):
Boot another operating system (Dual boot, live CD, etc)
Log in to the Internet.
Chroot into Arch
Update your system and install Firefox or similar. (from inside your Arch installation, running as the guest under chroot, using the connection established by the host OS)
Exit the chroot environment.
Reboot to Arch
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
I said:
They place you in a ip routing jail until you log in using a browser
All traffic is redirected to the login screen until you provide credentials.
You can prove this by trying wget www.archlinux.org -q -O -
If you get HTML back, you are talking over the Ethernet
If that HTML is from your ISP, you are in IP jail.
If that HTML is from Archlinux, then I am confused (but you are routed to the Internet)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
I said:
ewaller wrote:They place you in a ip routing jail until you log in using a browser
All traffic is redirected to the login screen until you provide credentials.You can prove this by trying wget www.archlinux.org -q -O -
If you get HTML back, you are talking over the Ethernet
If that HTML is from your ISP, you are in IP jail.
If that HTML is from Archlinux, then I am confused (but you are routed to the Internet)
Yes, all http:// is redirected back to my ISP's login page. I have tried this with LINKS BROWSER.
This morning I have spent more than an hour with the Technician my ISP has sent over to me... he had no idea what I was talking about nor of what was going on. Some "technician"!
Maybe they are putting you behind a proxy. In that case you can try setting the http_proxy and https_proxy environment variables and see if that works. Its a long shot, but still worth a try.
I will definitely give it a shot... I will call those dumb *sses and confirm...
If the login does not survive reboot, then (Plan B):
No the login never surives the reboot. And I will try CHROOT method you've suggested if the above PROXY method does not help.
Thanks for your support.
"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon
Offline
Pages: 1