View previous topic :: View next topic |
Author |
Message |
microtechno Apprentice


Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Mon Apr 24, 2006 1:25 pm Post subject: |
|
|
do you mean that i should change the domain name to 'wilson.local' for all the computers on the network or only the linux one?
also how would you go about doing that?
 |
|
Back to top |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Mon Apr 24, 2006 1:43 pm Post subject: |
|
|
You should use a consistent and valid domain name for all your systems. If you don't like wilson.local, you might choose to use wilson.org or, preferably, wilson.example.org. Windows might not care about DNS conformance, but Linux is much more picky about that.
You can change the domain in Gentoo by editing /etc/conf.d/domainname. However, you can define that in the settings of your DHCP server page - this way all systems, including Windows, will use it. If you prefer to set your domain name in Gentoo using this last method, be sure to read the comment on the override parameter of /etc/conf.d/domainname. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Last edited by jmbsvicetto on Mon Apr 24, 2006 8:12 pm; edited 1 time in total |
|
Back to top |
|
 |
microtechno Apprentice


Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Mon Apr 24, 2006 1:53 pm Post subject: |
|
|
where is the overide information.
also is the domain that you are talking about the name of the network domain or the internet domain? because 'wilson' is the net domain.
i am a tad confused. |
|
Back to top |
|
 |
microtechno Apprentice


Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Mon Apr 24, 2006 2:15 pm Post subject: |
|
|
sorry i am thinking of workgroup for windows, diffrent to the domain.
i belive
edit
I just changed the domain to 'wilson.local' on the router 'dhcp server' and then stoped and restarted the eth0. it sat on the 'dhcpcd' line for a minute or two then stoped. [!!] was the result not [ok]
this was the same after i chaged the domain on the linux comp, in the file you sugested. |
|
Back to top |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Mon Apr 24, 2006 8:16 pm Post subject: |
|
|
Yes, Windows/SMB workgroup is not the same as DNS domain name. You may use wilson as your workgroup and wilson.example.org as you DNS domain name.
If you want to set your configuration by hand in Linux, use the following for /etc/conf.d/domainname
Code: | OVERRIDE=1
DNSDOMAIN="wilson.example.org" |
If you want the DNS domain to be set by DHCP use the following instead
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
 |
microtechno Apprentice


Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Tue Apr 25, 2006 7:03 am Post subject: |
|
|
i changed the code, but nothing changed.
Ping will work fine for about the first 30 seconds. then after that it stops working.
the output from shows this
Code: | Address HWtype HWAddress Flags Mask Iface
192.168.0.3 (incomplete) eth0 |
the command Code: | car /etc/resolv.conf |
still gives the same output. even after rebooting gentoo.
i tried stoping and starting the interface but it just gets stuck on the "dhcpcd" still.
help |
|
Back to top |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Tue Apr 25, 2006 2:12 pm Post subject: |
|
|
There seems to be something wrong with your network or nic. Do you have a DHCP server on your network? Is it working? Have you tried using a manual configuration for your nic? That might help. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
 |
microtechno Apprentice


Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Wed Apr 26, 2006 7:28 am Post subject: |
|
|
the dhcp is running of our router/switch adsl that is. It works fine for all out other computers runnin windows. I have found though that if i setup the ip addresses manualy that the network fails. but that is because of a sharing issue with the ip addresses i now understand.
I will try with the static ips, following the instructions in the gentoo 2006.0 installation manual/book.
thanks  |
|
Back to top |
|
 |
microtechno Apprentice


Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Sat May 06, 2006 6:17 am Post subject: |
|
|
I have tried to make it work. by setting the IP's static on the linux computer.
this is getting me really annoyed because it works for a while then stops. it might be the router, a d-link thing because i often have trouble with it. my isp says that the problem is the line provider.
but that doesnt affect the connection between the linux and router. it will ping and then stop.
i changed the domain name on the router 'dhcp' to wilson.local.net' is that ok?
i was hoping to get the coputer up and running with apache so that i could learn to make php websites but it has taken me 2+ months from the day that i started with redhat 7 only to be told that it was old!!
please help. |
|
Back to top |
|
 |
microtechno Apprentice


Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Sat May 06, 2006 12:28 pm Post subject: |
|
|
i have t working almost. useing commands from the begining of this topic it has started to work.
i used the
Code: | #cd /usr/src/linux
# make menuconfig
# make modules && make modules_install
# rmmod tulip
# modprobe dmfe
# /etc/init.d/net.eth0 restart
#ping forums.gentoo.org
#echo dmfe >> /etc/modules.autoload.d/kernel-2.6 |
this works but when i rebboted it doenst work, the driver hasnt been brought over. the driver is in the file of the last command. As i understand that to be the one in question.
also a note the 'tulip' drriver was not in this file.
after posting this, i went back and it all works fine.
So it must just of been the router that had frozen for that moent that i was pinging.
so all is good.
Are there any commands that you know to double check that it is working fine.
thanks |
|
Back to top |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Mon May 08, 2006 12:29 am Post subject: |
|
|
Well, when you know you've configured your network and kernel properly, you can try the following:
Code: | # lsmod | grep dmfe |
This will show if the network driver was loaded properly
Code: | # grep -i dmfe /usr/src/linux/arch/i386/boot/bzImage
# grep -i dmfe /etc/modules.autoload.d/kernel-2.6 |
These will show if the driver was built as a module and if it's listed in the autload file.
These will show if the interface has been brought up and whether it's properly configured
Code: | # dmesg | grep dmfe
# dmesg | tail |
These will allow you to check if there was any problem loading and starting the network driver.
These will allow you to check if the network is working properly.
[edit]Corrected a spelling error[/edit] _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Last edited by jmbsvicetto on Mon May 08, 2006 10:25 am; edited 2 times in total |
|
Back to top |
|
 |
microtechno Apprentice


Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Mon May 08, 2006 5:26 am Post subject: |
|
|
thanks
all those commands show that it works.
although it said that there was no such command as traceroute.
thanks for the help.
now i am trying to get the ftp to work.
it wont upload only download, and i need to put usernames on some how.
thanks
microtechno
i am guessing that now i put [solved] or something like that on the post now. |
|
Back to top |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Mon May 08, 2006 10:31 am Post subject: |
|
|
Before you can use traceroute, you have to install it
Code: | # emerge -av1 traceroute |
As you've suspected, before you can upload to some sites, you have to authenticate. If I recall correctly, try using the following to login:
Code: | # ftp user:password@site |
You should be aware that ftp uses clear-text and provides no security. As long as you know that and don't require any security, that's acceptable. If you need some security or privacy, you should use sftp or scp.
PS - When you feel the issue has been solved, please do add [solved] to the tread title (edit first post). _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
 |
microtechno Apprentice


Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Mon May 08, 2006 10:50 am Post subject: [solved] |
|
|
thank you for your help through out the problem.
with the ftp thing, i ment that the has done something to apache on gentoo. now i cant access my which is annoying.
although i can by ftp, using an ftp browser from another computer.
to which i can download but now upload.
i might have to seek help in another post.
thanks anyways.
Microtechno |
|
Back to top |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Mon May 08, 2006 11:26 am Post subject: |
|
|
I don't use ftpd, but anyway I can't see how it should affect apache. However, check if you have a .htaccess file under /var/www/localhost/htdocs.
This is getting a bit off-topic, so if you feel like, you can ask an admin/moderator to split these last posts from the thread and create a new one. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
 |
microtechno Apprentice


Joined: 17 Apr 2006 Posts: 224 Location: Adelaide, Australia
|
Posted: Mon May 08, 2006 12:13 pm Post subject: |
|
|
thanks but i will be ok.
i have found another post that should solve my problem.
thanks |
|
Back to top |
|
 |
|