Broadband adapter: Difference between revisions

From dreamcast.wiki
Jump to navigation Jump to search
No edit summary
(Blanked the page)
Tag: Blanking
Line 1: Line 1:
{{MARKDOWN}}
## Linux : using dc-load-ip with the BBA
This tutorial has been tested on a new Linux Mint 19.1 install. My dreamcast is connected directly to my computer, no router in between.


### Dreamcast side
Get a selfbooting version of [dc-load-ip](http://download.sizious.com/dc/dctool/dcload-ip-1.0.4.7z). I've burned this with [imgburn](https://www.instructables.com/id/Dreamcast-Burn-Games-with-ImgBurn/) without any problem.
Next, boot **dc-load-ip** in your Dreamcast and make sure your BBA is connected in order to get your BBA mac address.
Once the green screen appears, note down your MAC address. It should look something like :  `10:04:5d:2b:0f:4d`
### Computer side
We'll use the arp fonction to get your computer to "give" an IP address to your Dreamcast based on its mac address. In a terminal, enter:
` sudo arp -s [local IP address] [MAC address]`
`[local IP address]` is any valid IP address that you want to assign to your Dreamcast
`[MAC address]` is your dreamcast's MAC address, look at step 2.
the local IP address should be in the same range as your network. In my setup, my ethernet port is set on port 192.168.5.100 and my `[local IP address]` is 192.168.5.99. If you don't know your network range, you can use `ifconfig` in a terminal to find out. I wont cover this here.
At this point, you should be able to see if your Dreamcast is connected.
A simple ping command should do the job.
`ping [local IP address]`
you should get a message like : 64 byte from [local IP address] .... blabla ... time=xx ms
### Testing your code
I'm currently using a [pre-compiled dcload-ip](http://napalm-x.thegypsy.com/adk/dc/dcload-ip/index.html) which seems to work fine.
You can now use that program to send your file to the DC. Make sure you dreamcast is running **dc-load-ip**. I've renamed the program to dc-tool-ip for simpler access.
`dc-tool-ip -t [local IP address] -x /path/to/your/.bin/or/.elf/file`
You can always run dc-tool-ip without any command to get some info on how to run it.
The -c option is useful if you need to use files that are located on your pc. You can use them with the `/pc` path.
### Notes
#### arp
The arp command used on step 3 will need to be entered every time you re log/shut down the dreamcast. I've added it to my `environ.sh` script.
#### Adding a host name
Also, you can add a line to your host file in order to replace [local IP address] to a more friendly name.
`sudo nano /etc/hosts`
then adding the line :
`dreamcast [local IP address]`
You can now refer do `dreamcast` instead of your usual `[local IP adress]`
_Other info at [CubicVR](https://github.com/cjcliffe/CubicVR/wiki/Dreamcast:-dc-load-ip)_

Revision as of 22:14, 9 January 2020