Making debian apt-get work on BBB

Hello.
I have my BBB A5A (running debian wheezy installed yesterday) connected to my PC (running Windows XP) via USB cable. It appears to be working fine, but I am unable to use apt-get to install a package I’m interested in.

Using PuTTY, I log into the BBB as root and type “apt-get install fpc” and the board responds shortly thereafter with

“After this operation, 94.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://ftp.us.debian.org/debian/ wheezy/main libmikmod2 armhf 3.1.12-5
Could not resolve ‘ftp.us.debian.org’”

Can anyone share some insight into what I’m doing wrong here? I’ve tried apt-getting several packages, but they all yield the same error.

Thanks in advance for any advice!

You don't seem to have a name server.

wulfman:~# nslookup ftp.us.debian.org
Server: 74.207.241.5
Address: 74.207.241.5#53

Non-authoritative answer:
Name: ftp.us.debian.org
Address: 64.50.233.100
Name: ftp.us.debian.org
Address: 64.50.236.52
Name: ftp.us.debian.org
Address: 128.61.240.89

try a nslookup on that ip

Thank you for the help wulfman.

When I enter

root@beaglebone:~# nslookup ftp.us.debian.org

the response is

-bash: nslookup: command not found.

I don’t seem to be able to ping any address either. Should I be able to do this without having a LAN cable connected to the BBB?

I’ve taken no steps to set up any networking capability on my board, and suspect that this may be my problem. Can you point me to any docs or tutorials that might help me? My knowledge of Linux networking is VERY limited!

Thanks again!

http://beagleboard.org/Getting+Started

Yes, I’ve done all that and can run the BoneScript examples and so forth and use PuTTY to browse the board. Also googled things like “beaglebone debian DNS” but found nothing I could understand that would let me use apttitude from the board.

Thank you for your time anyway. I’ll try here again later.

Yes, I’ve done all that and can run the BoneScript examples and so forth and use PuTTY to browse the board. Also googled things like “beaglebone debian DNS” but found nothing I could understand that would let me use apttitude from the board.

Thank you for your time anyway. I’ll try here again later.

You need to setup internet connection sharing on your windows box and route it to the USB network device. Or just use an Ethernet cable and network switch as that is way easier.

Yes, thanks very much Nelson. I finally located a Derek Malloy video on setting up network connection sharing here

https://www.youtube.com/watch?v=fzRVVtGNfj8

that guided me through the setup step-by-step. A little tense translating Win 7 instructions to Win XP – but got it working after a few tries.

Hope the link will be of help to the next guy who, like me, is not educated on networking issues like this :slight_smile:

Thanks again for your time and the help,

Yes, thanks very much Nelson. I finally located a Derek Malloy video on setting up network connection sharing here

https://www.youtube.com/watch?v=fzRVVtGNfj8

that guided me through the setup step-by-step. A little tense translating Win 7 instructions to Win XP – but got it working after a few tries.

Hope the link will be of help to the next guy who, like me, is not educated on networking issues like this :slight_smile:

Thanks again for your time and the help,

Yeah Derek has lots of excellent tutorials. I always close my mouth around windows questions. I could do it in win2k…