[Tutorial] Configuring an Always On DataOne on gnu/Linux

Status
Not open for further replies.

mayanks_098

world is evil
eddie said:
Have you tried asking about setting an ADSL connection in Sabayon forums? They would be much more capable in helping you. Also since Sabayon is Gentoo based then most probably they are using same init scripts as well. You can put the following code in your /etc/conf.d/net file and reboot
Code:
config_eth0="dhcp"
dhcpcd_eth0="-t 10" # Timeout after 10 seconds
dhcp_eth0="release nodns nontp nonis" # Only get an address
See if it works or not.

wer xactly to add dis code?@ d end?
 

eddie

El mooooo
mayanks_098 said:
wer xactly to add dis code?@ d end?
Comment out everything that is written in /etc/conf.d/net file. Comment out means put a # sign before every line in that file. Once that is done you should add the code provided by me in that file. For example this is how my file looks in reality
Code:
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0="dhcp"
dhcpcd_eth0="-t 10" # Timeout after 10 seconds
dhcp_eth0="release nodns nontp nonis" # Only get an address
As you can see, I have some lines with # sign in front of them. These lines will not be read at boot time...while the other lines that are not commented out will be used for setting up my network.
 

mayanks_098

world is evil
eddie said:
Comment out everything that is written in /etc/conf.d/net file. Comment out means put a # sign before every line in that file. Once that is done you should add the code provided by me in that file. For example this is how my file looks in reality
Code:
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0="dhcp"
dhcpcd_eth0="-t 10" # Timeout after 10 seconds
dhcp_eth0="release nodns nontp nonis" # Only get an address
As you can see, I have some lines with # sign in front of them. These lines will not be read at boot time...while the other lines that are not commented out will be used for setting up my network.





will try dis...u using sabayon?
n i installed sab over xp-vista-fiesty.
aftr installation,ubuntu is missing from my boot loader.ne idea of how to get it bak?
 

eddie

El mooooo
mayanks_098 said:
will try dis...u using sabayon?
n i installed sab over xp-vista-fiesty.
aftr installation,ubuntu is missing from my boot loader.ne idea of how to get it bak?
No I am using Gentoo. The distro on which Sabayaon is based. You get your network problem solved first. Boot loader thing can come later...one thing at a time :)
 

mayanks_098

world is evil
eddie said:
Comment out everything that is written in /etc/conf.d/net file. Comment out means put a # sign before every line in that file. Once that is done you should add the code provided by me in that file. For example this is how my file looks in reality
Code:
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0="dhcp"
dhcpcd_eth0="-t 10" # Timeout after 10 seconds
dhcp_eth0="release nodns nontp nonis" # Only get an address
As you can see, I have some lines with # sign in front of them. These lines will not be read at boot time...while the other lines that are not commented out will be used for setting up my network.


dint help me dude... it said access denied wen i tried it.
am i requird to login as root? bt wen i log in as root,my whole screen goes all white.
 

praka123

left this forum longback
u can be a root user by opening a terminal and:
Code:
~$ su -
give ur root passwd and press enter now a "#" prompt will appear now ur root!u can edit and save!
 

mayanks_098

world is evil
i manually set my connectn using net-setup eth0(thanks mehul),it worked bt wen i rebooted it din wrk.
bt if i login as root im able to use net w/o any configuratn @ all.
i thnk dat nw my connectn is configured,i just need to start it. right?


wats d command to start ur net connectn?
 

praka123

left this forum longback
Hope ur using some adsl-connxns (dataone?)
may be ur not member of group "dialout".so ur option in sabayon to start internet BB is as root(see my tip no #106) run
Code:
~#adsl-start
or
Code:
~#pppoe-start
inorder to start and stop as local user,add wheel? or dialout groups as ur secondary groups...Gentoo geeks here help him with dis..
 

mehulved

18 Till I Die............
mayanks_098 said:
i manually set my connectn using net-setup eth0(thanks mehul),it worked bt wen i rebooted it din wrk.
bt if i login as root im able to use net w/o any configuratn @ all.
i thnk dat nw my connectn is configured,i just need to start it. right?


wats d command to start ur net connectn?
Are you on sabayon 3.2x? It had some problem with net configured via net-setup not being persistent.
And also check *www.gentoo.org/doc/en/handbook/2007.0/handbook-x86.xml?part=4
 

mehulved

18 Till I Die............
If you're on 3.2x get 3.3 or 3.4loop2. Or wait a while till 3.4 releases.
Also, read the gentoo handbook, whose link I've provided in the earlier post. It describes how to set it up manually.
 

jatinkompelli

Broken In
Hi,
i have installed mandriva 2007 spring. i have mt841 router.
I have set the ip,subnet mask,default gateway & dns server.
then i have login at 192.168.1.1 but i cannot have the option of pppoe.

plz help me setting MT841 router.
 

praka123

left this forum longback
if u want to setup via router's pppoe dialer:
*www.calcuttatelephones.com/dataoneinstall/mdm07.html
else
try the main guide.
 

aneek

Broken In
can you tell me how to built a broadband (BSNL) connection in Fedora 7...
I can't do this.....Help me........
 

anantkhaitan

Burning Bright
^^
Configuring ADSL internet setup is very easy in Fedora/Red Hat based dstro.. Here we go:

1> Open system-config-network : System > Administration > Network

2> Click on New > xDSL Connection > Enter your personal details > Finish

3> Highlight your Provider and Activate
 

adithyagenius

I WANT MORE FPS!!
Help needed !!
I was able to configure net very easily on fedora 5 and 6 by making a new xdsl connection. I was able to connect in ubuntu using pppoeconf.
But with the bootable digit DVDs I am having problem. In fedora 7 eth0 fails during booting. It has problems in determining IP. Its configured to get IP address by DHCP. Ubuntu detects wired network connection and shows an icon near the clock. But when I use pppoeconf, it shows 2 ethernet devices. One is eth0 and other is avahi. When I say "yes" to "are all devices listed", its starts searching for pppoe access concentrators and finds none. My modem is DSL-502T. I can use this router to connect to net but I want to use bridged connection. Any help?
 

praka123

left this forum longback
^whats ur lan card(lspci) and in fedora livecd fails to launch try "ifconfig -a" for ethx listed.if yes,try as su,"ifconfig ethx up".where x is ur lan card no.
For Ubuntu-it uses avahi zeroconf.dont care for that entry.make sure lan card is up from o/p of "ifconfig".then try the command "sudo pppoe-discovery" to verify adsl is available.now try "sudo pppoeconf" again.also make sure router is configured as pure bridged mode,not ppp mode(router dialer mode).check this section for same explained.
*www.thinkdigit.com/forum/showpost.php?p=515118&postcount=11
*www.thinkdigit.com/forum/showthread.php?t=59380
btwn do u own intex lan card?hopefully not :eek:
 

adithyagenius

I WANT MORE FPS!!
^^^
how did you get fedora live dvd? I was unable to get fedora to work as live DVD.

here are the details
my lan card is onboard realtek rlt8139 model. Thats how itis detected by all OSes too.
ifconfig -a gives 3 entries
1. eth0 (MTU 1500)
2. eth0:avah (MTU 1500 &up)
3. lo (MTU large number)
My adsl modem is perfectly configured
I tried the following with sudo prefix
ifconfig eth0 up
pppoe-discovery - failed
pppoeconf - unable to find pppoe access concentrator. maybe some other process is using pppoe
ifconfig eth0 mtu 1492
pppoeconf - same error. but in terminal there is a new error about mtu should be 1500

all the above in hdd installed ubuntu 7 from bootable digit dvd
 
Last edited:

praka123

left this forum longback
does ur lan card up?"ifconfig" will reveal this.if lan is awake and no pppoe detected means-do u checked the wiring :?
 
Status
Not open for further replies.
Top Bottom