Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 15:02
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Want to create a Lucid 5.2.8 LiveCD with working TFTP Server
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
puppy_newb

Joined: 21 Sep 2011
Posts: 33

PostPosted: Mon 07 Nov 2011, 13:13    Post_subject:  Want to create a Lucid 5.2.8 LiveCD with working TFTP Server  

Hi Guys,

I have been actually working on this for three months with no luck. I want to create a live Puppy 5.2.8 DVD for loading switch configs from a tftp server. The problem is that I just can't get the tftp server up and running correctly. I have tried DNSMASQ, tftp-hpa, advanced tftp. I have tried both .pet and .deb packages but am not having any luck. Does anyone have a .pet that works and which would make it to save multisession files to a directory and how to make it 777 after I save? Any help would be greatly appreciated.
Back to top
View user's profile Send_private_message 
gcmartin

Joined: 14 Oct 2005
Posts: 4355
Location: Earth

PostPosted: Mon 07 Nov 2011, 17:33    Post_subject: PXE (TFTP) will boot a Puppy over the LAN with NO Media  

puppy_newb wrote:
Hi Guys,

I have been actually working on this for three months with no luck. ..
You might not have noticed, but @JamesBond did this for the community earlier this year.

It s a working model that you can set up in less than 5 minutes. If you also have an ISO available, you can be booting another PC on your LAN in 6-8 minutes, total time, installation start to finish.

Give it a try. Comment on that thread for help.

Hope this helps

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send_private_message 
puppy_newb

Joined: 21 Sep 2011
Posts: 33

PostPosted: Thu 17 Nov 2011, 17:15    Post_subject: Re: PXE (TFTP) will boot a Puppy over the LAN with NO Media  

gcmartin wrote:
puppy_newb wrote:
Hi Guys,

I have been actually working on this for three months with no luck. ..
You might not have noticed, but @JamesBond did this for the community earlier this year.

It s a working model that you can set up in less than 5 minutes. If you also have an ISO available, you can be booting another PC on your LAN in 6-8 minutes, total time, installation start to finish.

Give it a try. Comment on that thread for help.

Hope this helps


Looks like that TFTP server does not support my purpose of being able to actually write files to my Puppy Linux live DVD.
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Thu 17 Nov 2011, 20:07    Post_subject:  

MagicZaurus did get tftp working IIRC

http://murga-linux.com/puppy/viewtopic.php?t=37608

Aitch Smile
Back to top
View user's profile Send_private_message 
puppy_newb

Joined: 21 Sep 2011
Posts: 33

PostPosted: Mon 21 Nov 2011, 17:11    Post_subject:  

Aitch wrote:
MagicZaurus did get tftp working IIRC

http://murga-linux.com/puppy/viewtopic.php?t=37608

Aitch Smile


Hi Aitch,

I read through that post before, it looks like it is just talking about dnsmasq which i tried and doesn't work for me at all. I tried that other package he was talking about also but that didn't work for me either. I think he has a .pup which is an older version and does not work on puppy 5.2.8. Any other ideas?
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Mon 21 Nov 2011, 23:34    Post_subject:  

Hi

Other ideas?

Well, I'm still trying to understand exactly what you are trying to do.... Confused

I know you have HP3500 and 6200 switches and that you trying to copy switch config files by tftp, because, you say, it can't use ftp....but I'm not sure if you have the tftp server running in 528 or not, or what configuration you have for dnsmasq

You say, in the other thread, "I have it working with RHEL5 using their tftpd service. I just want that software working in puppy"

....but I can't see any difference between RHEL5 and Puppy, as regards setting up tftp, as it's part of dnsmasq configuration, if I understand it correctly?


Perhaps a step-by-step of what you do have working/have tried/are trying to achieve, would help us all?

Have any of the links been useful/have you got HP configuration manual/dnsmasq man pages?

I find it hard to envisage what you can/can't do....so as to know what else to suggest

Aitch Smile
Back to top
View user's profile Send_private_message 
puppy_newb

Joined: 21 Sep 2011
Posts: 33

PostPosted: Tue 29 Nov 2011, 17:21    Post_subject:  

Aitch wrote:
Hi

Other ideas?

Well, I'm still trying to understand exactly what you are trying to do.... Confused

I know you have HP3500 and 6200 switches and that you trying to copy switch config files by tftp, because, you say, it can't use ftp....but I'm not sure if you have the tftp server running in 528 or not, or what configuration you have for dnsmasq

You say, in the other thread, "I have it working with RHEL5 using their tftpd service. I just want that software working in puppy"

....but I can't see any difference between RHEL5 and Puppy, as regards setting up tftp, as it's part of dnsmasq configuration, if I understand it correctly?


Perhaps a step-by-step of what you do have working/have tried/are trying to achieve, would help us all?

Have any of the links been useful/have you got HP configuration manual/dnsmasq man pages?

I find it hard to envisage what you can/can't do....so as to know what else to suggest

Aitch Smile


Hi Aitch,

The problem is that dnsmasq will never work for me. It is a read only tftp server. This means it will only write to other machine and send files to them which use it to boot off of it to the network. What I want to do is a lot more simple. I want a TFTP server which I can write and save files too. I basically want to copy files from a switch to my Puppy live distro running a TFTP server using my custom scripts which i will remaster into the distro. This live DVD will essentially make any computer into my custom TFTP server which I can load switch configs too and push where I would like through out the network or other switches.

I have had a bunch of TFTP server programs up and running, but when I try to send the the file over to my puppy TFTP server, it times out or the TFTP server blocks the ip address.I hope this helps clear it up a little better.
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Tue 29 Nov 2011, 22:30    Post_subject:  

Maybe /etc/resolv.conf is getting overwritten?

OK, maybe the debian/*buntu TFTP setup here helps?

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_TFTP,_and_xinetd

also see 'Using special servers' here

http://www.thekelleys.org.uk/dnsmasq/docs/setup.html

and http://wiki.openwrt.org/doc/uci/dhcp

Have you checked firewall rules to see if port forwarding helps?

I'm on the edge of my knowledge sphere, so may be way off beam...

Any idea why Atftp is no good?

http://freecode.com/projects/atftp

http://packages.debian.org/lenny/atftp

HTH

Aitch Smile
Back to top
View user's profile Send_private_message 
puppy_newb

Joined: 21 Sep 2011
Posts: 33

PostPosted: Wed 30 Nov 2011, 15:36    Post_subject:  

Aitch wrote:
Maybe /etc/resolv.conf is getting overwritten?

OK, maybe the debian/*buntu TFTP setup here helps?

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_TFTP,_and_xinetd

also see 'Using special servers' here

http://www.thekelleys.org.uk/dnsmasq/docs/setup.html

and http://wiki.openwrt.org/doc/uci/dhcp

Have you checked firewall rules to see if port forwarding helps?

I'm on the edge of my knowledge sphere, so may be way off beam...

Any idea why Atftp is no good?

http://freecode.com/projects/atftp

http://packages.debian.org/lenny/atftp

HTH

Aitch Smile


I tried almost everything here and I get connection refused from atftp which seems like the most promising TFTP read/write server solution for Puppy. I think i might have to throw in the towel on this one.
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Wed 30 Nov 2011, 15:44    Post_subject:  

Using Atftp

Run /etc/init.d/iptables stop and try again.

If that fixes it, you need to allow tftp traffic in your firewall. If it doesn't, try fetching the file via a tftp client directly on the server (tftp localhost) and on a machine on the same subnet.

Have you loaded the tftp nat module?

Aitch Smile
Back to top
View user's profile Send_private_message 
puppy_newb

Joined: 21 Sep 2011
Posts: 33

PostPosted: Thu 01 Dec 2011, 14:07    Post_subject:  

Aitch wrote:
Using Atftp

Run /etc/init.d/iptables stop and try again.

If that fixes it, you need to allow tftp traffic in your firewall. If it doesn't, try fetching the file via a tftp client directly on the server (tftp localhost) and on a machine on the same subnet.

Have you loaded the tftp nat module?

Aitch Smile


This is a good idea, I will start over with a fresh copy of Puppy 5.2.8, install the .deb ATFTP package and then once that is up try to do this. I was making some modifications to the /etc/rc.local file to have a manual ip address when the system boots up and I think I have have tried to delete the ip tables. Ill report back what happens.
Back to top
View user's profile Send_private_message 
puppy_newb

Joined: 21 Sep 2011
Posts: 33

PostPosted: Thu 01 Dec 2011, 16:34    Post_subject:  

Aitch wrote:
Using Atftp

Run /etc/init.d/iptables stop and try again.

If that fixes it, you need to allow tftp traffic in your firewall. If it doesn't, try fetching the file via a tftp client directly on the server (tftp localhost) and on a machine on the same subnet.

Have you loaded the tftp nat module?

Aitch Smile


Hi Aitch

So what I type is

/sbin/iptables stop and i get
Input/output error

Any idea what could be going on? The small icon on the bottom right says firewall off though.
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Fri 02 Dec 2011, 00:21    Post_subject:  

As I said, I'm on the edge of my knowledge sphere, I'd just be tinkering, like you... Have you tried ping? both to yourself and remote?
I/O errors....usually caused by unexpected termination of pppd, maybe?
http://en.wikipedia.org/wiki/Iptables
MagicZaurus...any ideas?

Aitch Smile
Back to top
View user's profile Send_private_message 
puppy_newb

Joined: 21 Sep 2011
Posts: 33

PostPosted: Fri 02 Dec 2011, 11:22    Post_subject:  

Aitch wrote:
As I said, I'm on the edge of my knowledge sphere, I'd just be tinkering, like you... Have you tried ping? both to yourself and remote?
I/O errors....usually caused by unexpected termination of pppd, maybe?
http://en.wikipedia.org/wiki/Iptables
MagicZaurus...any ideas?

Aitch Smile


Hi Aitch,

Thanks for all your help! After 4 months the solution was commenting "ALL:ALL" from the /etc/hosts.deny file also known as TCP wrappers. Once this was un-commented, I was able to transfer files from a network switch directly to my Puppy Live DVD running a TFTP server at boot-up. I hope this helps somebody in the future!
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Fri 02 Dec 2011, 11:30    Post_subject:  

Wow, cool - is that using Atftp?
please add Solved to the first post [edit top r/h]

Aitch Smile
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0887s ][ Queries: 12 (0.0051s) ][ GZIP on ]